I’ve just tried to launch LightBurn under Ubuntu 21.10 with wayland, however it looks like it’s not working with the following error :
❯ ./LightBurn
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
[1] 3511518 IOT instruction (core dumped) ./LightBurn
Qt won’t run in Wayland unless you tell it to. Even then, I’m not 100% sure it’ll work as I’ve never tried it.
In theory you can use: export QT_QPA_PLATFORM=wayland ./LightBurn
As noted by the warning message you provided, that will force it to run with Wayland.
We intentionally build with an old version of Qt for Linux because a lot of our linux users run old Linux. So I make no guarantee that it will work, but I’m interested to know if it does for you. I actually don’t have a machine running Wayland to test at the moment. I should set that up
Thanks for the information, I indeed tried with enforcing wayland with wayland (fyi no need to export the variable when it’s a one liner command) :
❯ QT_QPA_PLATFORM=wayland ./LightBurn
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
[1] 3511586 IOT instruction (core dumped) QT_QPA_PLATFORM=wayland ./LightBurn
Ok - yeah. We just don’t build it with QtWayland which it looks like we’d have to do.
We need to update to a newer Qt version anyways so I’ll add it to my list to look at when we do that.