Qt Base (Core, Gui, Widgets, Network, ...)
Go to file
Joerg Bornemann 4f4db96f63 CMake: Fix directory scoping issue for qt6_generate_deploy_script
Consider a Qt target created in a subdirectory and a call to
qt6_generate_deploy_app_script(target) in the parent directory.

Once qt6_generate_deploy_script (called by
qt6_generate_deploy_app_script) is run, the target has already been
finalized. However, qt6_generate_deploy_script needs to run before
finalization, because:
- qt6_generate_deploy_script marks the target as to be deployed
- the finalizer generates plugins information only if the target was
  marked to be deployed

Fix this in qt6_generate_deploy_script by checking whether the target
was already finalized. In that case, generate the plugin deployment
information right away.

Fixes: QTBUG-109741
Change-Id: Idf60f9e21f038c1a33843177d9299230857ee70b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 6c28528e40)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-02-09 10:42:43 +00:00
.github/workflows Repair github action workflow 2021-11-10 18:57:33 +01:00
LICENSES Add license text file for Creative Commons Zero (CC0) 1.0 2022-10-19 12:06:09 +02:00
bin Use the Windows path separator in a Batch file 2023-01-16 08:29:51 +00:00
cmake CMake: Fix directory scoping issue for qt6_generate_deploy_script 2023-02-09 10:42:43 +00:00
coin Revert "Revert "coin: Build qmake examples in non-qtbase repos"" 2023-02-06 08:40:49 +00:00
config.tests Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
dist
doc Move findfiles example into manual tests 2023-02-09 00:02:04 +00:00
examples Move findfiles example into manual tests 2023-02-09 00:02:04 +00:00
lib
libexec Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mkspecs permissions: Handle relative paths to Info.plist file 2023-02-07 13:14:29 +00:00
qmake Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 15:08:07 +00:00
src CMake: Fix directory scoping issue for qt6_generate_deploy_script 2023-02-09 10:42:43 +00:00
tests Move findfiles example into manual tests 2023-02-09 00:02:04 +00:00
util Update CLDR to v42 2023-02-07 18:51:44 +00:00
.cmake.conf Remove QT_USE_SYNCQT_CPP 2023-01-06 22:09:47 +01:00
.gitattributes
.gitignore
.lgtm.yml
.tag
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
conanfile.py Conan: Do not force 'qt_host_path' usage in cross-build context 2022-06-22 18:18:42 +03:00
config_help.txt Update -redo option such that it removes CMakeCache.txt and CMakeFiles/ 2022-12-01 02:23:51 +01:00
configure Update -redo option such that it removes CMakeCache.txt and CMakeFiles/ 2022-12-01 02:23:51 +01:00
configure.bat Update -redo option such that it removes CMakeCache.txt and CMakeFiles/ 2022-12-01 02:23:51 +01:00
configure.cmake Add find package for lttng library so that it gets added to target 2023-01-13 10:44:11 +00:00
dependencies.yaml
qt_cmdline.cmake QCryptographicHash: implement OpenSSL 3.0 support 2022-09-26 17:26:37 +02:00
sync.profile Move qurltlds_p.h out of src/network, and make it a .cpp file 2022-10-01 06:24:51 +00:00