Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138240

Linux deployment script misses plugins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.10.0
    • 6.9.1
    • Build System: CMake
    • None
    • Ubuntu 25.04
    • Linux/Wayland

    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. 

      1. Themeing support (e.g. automatic recognition of dark theme) doesnt work in the deployed app.
      2. Wayland integration plugin is missing
      3. 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

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            philipaxer Philip Axer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes