Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.1.1
-
None
-
macos
-
-
d2e85cede (dev), 5da0b7624 (6.8)
Description
When tryingto build qt 6.1.1 (using conan center recipe), configuration fails with:
CMake Error at qtbase/cmake/QtPrlHelpers.cmake:225 (set_property): Attempt to promote imported target "CONAN_LIB::ZLIB_z" to global scope (by setting IMPORTED_GLOBAL) which is not built in this directory. Call Stack (most recent call first): qtbase/cmake/QtPrlHelpers.cmake:178 (qt_internal_walk_libs) qtbase/cmake/QtPrlHelpers.cmake:198 (qt_internal_walk_libs) qtbase/cmake/QtPrlHelpers.cmake:178 (qt_internal_walk_libs) qtbase/cmake/QtPrlHelpers.cmake:198 (qt_internal_walk_libs) qtbase/cmake/QtPrlHelpers.cmake:178 (qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:12 (qt_internal_walk_libs) qtbase/cmake/QtFindPackageHelpers.cmake:158 (qt_find_package_promote_targets_to_global_scope) qtbase/src/gui/configure.cmake:33 (qt_find_package) qtbase/cmake/QtFeature.cmake:520 (include) qtbase/src/CMakeLists.txt:12 (qt_feature_evaluate_features)
Building qt 6.1.0 with the same arguments in the same environment passes successfully. This could be caused by https://codereview.qt-project.org/c/qt/qtbase/+/344053
Attachments
Issue Links
- depends on
-
QTBUG-89204 qtimageformats fails to configure during a static Windows build with target global promotion failures
- Closed
- relates to
-
QTBUG-98807 build failure (with conan)when odbc and vulkan are enabled (due to global promotion)
- Closed