Because my soon-to-be-China-like country will probably soon impose using QRcode to go anywhere
I thought about doing a nice and practical QRcode reader for librem5
I downloaded the last qcow2 image of the librem5 and run it with qemu
I tried a webcam with mpv /dev/video0 : it successfuly get the video stream inside the L5 VM
Then I tried zbarcam to read QRcode : it works !
But then i found and installed the app qtqr , which didn’t start because I’m a dumbass who forgot to set DISPLAY=:0 when ssh-ing
After setting the DISPLAY variable, I found this very odd behavior :
If I execute qtqr from ssh it fails with the error :
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
I have same error/behavior with an other app
if I open the terminal inside the VM and execute qtqr : it fails with the same error
if I use the nice shortcut in the GUI application launcher : it fails to start, probably with the same error, but I can’t see it, I only see the desktop wallpaper
if I use zsh inside the current bash and execute qtqr : it fails with the same error
But then if I reboot with zsh as my default shell instead of bash, it works perfectly from ssh (but fails from terminal or GUI app launcher)
Anyone has a clue why ?
@amarok : did you tried qtqr (if not can you test it plz ? ) or any other QRcode reader ? (edit: hum, this request is kind of stupid, the cameras are not yet working…)