Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.0 Beta2
-
None
-
-
381994598 (dev), c6ce3d613 (6.5)
Description
Cmake fails when building qtimageformats if libwebp has been compiled with cmake (so qt uses libwebp's cmake config instead of pkgconfig)
CMake Error at /usr/lib/cmake/Qt6/QtPublicTargetHelpers.cmake:260 (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): /usr/lib/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:255 (__qt_internal_promote_target_to_global) /usr/lib/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:228 (__qt_internal_walk_libs) /usr/lib/cmake/Qt6/QtFindPackageHelpers.cmake:15 (__qt_internal_walk_libs) /usr/lib/cmake/Qt6/QtFindPackageHelpers.cmake:200 (qt_find_package_promote_targets_to_global_scope) src/imageformats/configure.cmake:22 (qt_find_package) src/plugins/imageformats/CMakeLists.txt:12 (include)
Attachments
For Gerrit Dashboard: QTBUG-110720 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
457366,2 | CMake: Fix Threads::Threads global target promotion issue | dev | qt/qtimageformats | Status: MERGED | +2 | 0 |
457427,2 | CMake: Fix Threads::Threads global target promotion issue | 6.5 | qt/qtimageformats | Status: MERGED | +2 | 0 |