Sounds good (good enough at least).
So I investigated this further and edited the post above: QF with electron can build for arm. To do so one just has to edit quasar.conf.js to set arch: 'arm64'
in the packager options or if using electron < 5 arch: 'arm64'
in the builder options and bundler: 'builder',
in the electron options.
For testing whether or not it works at all and how well it runs performance-wise - including during development (basically quasar dev -m librem5
) - it would probably be useful to have a Librem5 virtual machine that emulates the ARM architecture. I asked about that here. As far as I can see, right now there’s only a x86_64 virtual machine that one could run without the devkit.
I tested it with that vm by running: sudo qemu-system-x86_64 -boot menu=on -drive file=./qemu-x86_64.qcow2,format=qcow2 -cdrom ./linux_64_build.iso -vga virtio -display gtk -m 2G -enable-kvm
(install a file explorer, mount the cd, copy it over, navigate to it in the console, run chmod +x filename, do the chown and chmod changes, run the app).
The app ran on it but the window size is too large and I couldn’t change it.
(larger res)
So probably one needs to have it start with the device window size. A simple way to implement this would be the fullscreen-plugin. Here’s how it looks when it’s set to fullscreen with that plugin:
(larger res)
However, while I can click that button I can’t click on the layout drawer in the upper left. The cursor icon doesn’t change when hovering over it and there’s no error message in the console. The auto-import is set to auto in quasar.conf.js and I have also added ‘QLayout’ to the components array there. I can click on it on my Debian GNU/Linux though.
Finding out why it isn’t clickable and fixing that would probably be the next step in getting it to work with the Librem5. Maybe somebody here has an idea what might cause it to be unclickable?