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

Running qt_generate_deploy_app_script(tgt) must be run in the same directory scope as tgt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.5.0, 6.6.0
    • 6.5
    • Build System: CMake
    • None
    • Linux/X11
    • 6c28528e4 (dev), 4f4db96f6 (6.5)

      Spawned from discussion in https://discourse.cmake.org/t/installation-qt6-qml-application-cross-plattform/7110/8

      Consider a target created in a subdirectory and a call to qt_generate_deploy_app_script in the top-level CMakeLists.txt. The installation will fail to deploy plugins.

      Reason: qt_generate_deploy_app_script marks the target as to be deployed, and the target finalizer only generates plugin information for this target if the target is marked.
      In the outlined setup, the finalizer is run before qt_generate_deploy_app_script.

        1. qm_cycle.tar.xz
          2 kB
          Joerg Bornemann
        For Gerrit Dashboard: QTBUG-109741
        # Subject Branch Project Status CR V

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes