Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5
-
None
-
-
6c28528e4 (dev), 4f4db96f6 (6.5)
Description
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.
Attachments
For Gerrit Dashboard: QTBUG-109741 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
456796,5 | CMake: Fix directory scoping issue for qt6_generate_deploy_script | dev | qt/qtbase | Status: MERGED | +2 | 0 |
459324,2 | CMake: Fix directory scoping issue for qt6_generate_deploy_script | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |