Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2.0 Beta1
-
None
-
-
d2e85cede (dev), 5da0b7624 (6.8)
Description
I think I opened another older issue with a similar problem but since the global promotion code changed I just open another issues.
Error:
CMake Error at D:/installed/x64-windows-static/share/Qt6/QtPublicTargetHelpers.cmake:219 (set_property): Attempt to promote imported target "Threads::Threads" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:231 (__qt_internal_promote_target_to_global) D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:205 (__qt_internal_walk_libs) D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:180 (__qt_internal_walk_libs) D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs) D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:173 (qt_find_package_promote_targets_to_global_scope) src/imageformats/configure.cmake:18 (qt_find_package) src/plugins/imageformats/CMakeLists.txt:9 (include) CMake Error at D:/installed/x64-windows-static/share/Qt6/QtPublicTargetHelpers.cmake:219 (set_property): Attempt to promote imported target "JPEG::JPEG" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:231 (__qt_internal_promote_target_to_global) D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs) D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:173 (qt_find_package_promote_targets_to_global_scope) src/imageformats/configure.cmake:18 (qt_find_package) src/plugins/imageformats/CMakeLists.txt:9 (include) CMake Error at D:/installed/x64-windows-static/share/Qt6/QtPublicTargetHelpers.cmake:219 (set_property): Attempt to promote imported target "ZLIB::ZLIB" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): D:/installed/x64-windows-static/share/Qt6/QtPublicWalkLibsHelpers.cmake:231 (__qt_internal_promote_target_to_global) D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:12 (__qt_internal_walk_libs) D:/installed/x64-windows-static/share/Qt6/QtFindPackageHelpers.cmake:173 (qt_find_package_promote_targets_to_global_scope) src/imageformats/configure.cmake:18 (qt_find_package) src/plugins/imageformats/CMakeLists.txt:9 (include)
Attachments
Issue Links
- duplicates
-
QTBUG-89204 qtimageformats fails to configure during a static Windows build with target global promotion failures
- Closed
For Gerrit Dashboard: QTBUG-95052 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
573624,18 | CMake: Prevent most global promotion errors when building Qt | dev | qt/qtbase | Status: MERGED | +2 | 0 |
573625,11 | WIP: CMake: Test global promotion change | dev | qt/qt5 | Status: ABANDONED | -2 | -1 |
575206,7 | WIP: CMake: Try out how well does BINARY_DIR checking help | dev | qt/qtbase | Status: DEFERRED | -2 | 0 |
575480,1 | WIP: CMake: Test global promotion change with wip change | dev | qt/qt5 | Status: ABANDONED | -2 | -1 |
576052,2 | CMake: Prevent most global promotion errors when building Qt | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |