Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.9.1
-
None
-
Ubuntu 25.04
Description
I am using the linux deployment script as present from 6.5 onwards (I think).
For this I am following the basic guidelines as described here https://doc.qt.io/qt-6/qt-generate-deploy-app-script.html
The issue I am facing is that several plugins are missing.
- Themeing support (e.g. automatic recognition of dark theme) doesnt work in the deployed app.
- Wayland integration plugin is missing
- Wayland shell integration is missing
In earlier versions of Qt (6.8.3) the plugins directory is missing entirely from the install directory, however that seems to be solved after switching to the most recent release. I noticed this, because 6.8.3 is the stock Qt on my Ubuntu machine.
For theming support I need to do this
qt_import_plugins(CytonXplore INCLUDE Qt6::QGtk3ThemePlugin)
For Wayland support I need this
qt_import_plugins(CytonXplore INCLUDE Qt6::QWaylandIntegrationPlugin)
The Wayland shell integration plugins only get deployed if I link against
Qt${QT_VERSION_MAJOR}::WaylandClient
However, that doesnt seem to be a good fix.
To reproduce this, you can use qtcreator, just create an default QWidgets app, and add the deployment example from the documenation as posted above.
regards
Philip