buildroot/package/qt6/qt6base
Roy Kollen Svendsen 246763308b package/qt6/qt6base: fix missing plugins and qml2 imports
When using the default value "." for of ArchData, qt6-applications that require QML2 imports or
plugins, will not run:

In my case the wayland-egl platform plugin is not found:

  qt.qpa.plugin: Could not find the Qt platform plugin "wayland-egl" in ""

And I also get a lot of qml related warnings:

  qrc:/qml/main.qml:3:1: module "QtQuick.Layouts" is not installed

Prior to this fix, we had to set the QML2_IMPORT_PATH and QT_PLUGIN_PATH or make sure qt.conf is
available.

After this fix, ArchData starts with "lib", which is necessary (according to my own experiments)
for qt6-applications to find plugins and qml2 imports. The root cause is still unknown, but I
think the current solution is sufficient.

Setting ArchData to "lib/qt6" is also a good first step towards a better qt6 filesystem layout.
I will continue improving the qt6 filesystem layout in a later patch.

Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-07-15 11:28:03 +02:00
..
Config.in
Config.in.host package/qt6/qt6base: add blind option to enable Sql support on host 2024-07-12 10:44:30 +02:00
qt6base.hash
qt6base.mk package/qt6/qt6base: fix missing plugins and qml2 imports 2024-07-15 11:28:03 +02:00