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

qt_generate_deploy_app_script does not deploy wayland platform plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.9.1
    • Build System: CMake
    • None
    • Arch Linux x86_64, Qt 6.9.1 obtained from vcpkg
    • Linux/Wayland

      Despite linking my app to Qt6::WaylandClient, the deploy script only deploys a single platform plugin: xcb. The wayland plugin works fine from my build folder but is not found once I deploy to the install folder (because it does not get copied there).

      Warning: Could not find the Qt platform plugin "wayland" in ""

       
      qt_generate_deploy_qml_app_script(
      TARGET RhythmGame_exe
      OUTPUT_SCRIPT deploy_script
      NO_UNSUPPORTED_PLATFORM_ERROR
      DEPLOY_TOOL_OPTIONS "--qmldir \"${CMAKE_SOURCE_DIR{color:#cf8e6d}}/data/themes/Default\"" MACOS_BUNDLE_POST_BUILD
      )
      install(SCRIPT ${deploy_script})

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

            qtbuildsystem Qt Build System Team
            bobini Tomasz Kalisiak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes