QT 6.4 Wayland support
-
Hi all first time poster. I have the following error and I know I need the 'https://tracker.debian.org/pkg/qt6-wayland' package. It doesn't look like it has been been built for 6.4. I have not built a package like that from source before and I don't know where to begin. Any tips? Thanks!
Could not find the Qt platform plugin "wayland"
-
Hi and welcome to devnet,
How did you install Qt 6.4 ?
If the online installer, did you check whether the module is available as an extra installation option ? -
Thanks for the reply. I'm a bit further now but still running into issues. Here is my set up:
Main PC: Ubuntu 22.04 Desktop
Raspberry PI 4: Ubuntu Desktop 22.04 (intermediate device to test app inside ubuntu-frame and create snap for my target device)
Rasberry PI 4: Ubuntu Core 22 running ubuntu-frame (target-device)I followed https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi and had success with cross compiling between the main PC and the first PI. The challenge came when creating the snap for the target device. The first issue was the topic of this post. I solved that with adding
-feature-wayland-server
to the ./configure params and then copying over the corresponding *.so files into the snap. Since 6.4 is brand new and no Ubuntu apt packages contain that version I have had to copy over all shared libraries. I've had some issue withmesa-core20
that the ubuntu-frame folks said was recommended, but my main issue is this errormodule "QtQuick" is not installed
. I would think copy overlibQt6Quick.so
and a bunch of other related files would do it but the error remains. -
The .so file is usually a symbolic link. You should copy all the corresponding files.