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