Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.2
-
None
-
-
b3cc89e81 (dev), b404d8e36 (6.7), a6c0f1703 (6.6), fc2404096 (tqtc/lts-6.5)
Description
qtbase 6.6.2 fails to configure with the following error msg:
CMake Error at src/corelib/Qt6CoreMacros.cmake:605 (set_property):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "AUTORCC_OPTIONS" is not allowed.
Call Stack (most recent call first):
src/corelib/Qt6CoreMacros.cmake:2399 (_qt_internal_disable_autorcc_zstd_when_not_supported)
cmake/QtModuleHelpers.cmake:173 (_qt_internal_add_library)
cmake/Qt3rdPartyLibraryHelpers.cmake:369 (qt_internal_add_module)
src/3rdparty/harfbuzz-ng/CMakeLists.txt:190 (qt_internal_add_3rdparty_header_module)
this is a regression from 6.6.1 which succeeded on same conditions: centos 7 (without harfbuzz I guess), with cmake 3.17.5:
curl -fSsL https://download.qt.io/official_releases/qt/6.6/6.6.2/submodules/qtbase-everywhere-src-6.6.2.tar.xz | tar xJ && cd qtbase-everywhere-src-6.6.2 && cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/lo
cal -DINSTALL_ARCHDATADIR=lib/qt -DQT_BUILD_TESTS=FALSE -DQT_BUILD_EXAMPLES=FALSE -DINPUT_xcb=yes -DINPUT_mimetype_database=no -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BAT
CH_SIZE=32 . && ninja install
here is the full cmake output:
Attachments
For Gerrit Dashboard: QTBUG-122266 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
540102,3 | CMake: Fix AUTORCC_OPTIONS INTERFACE_LIBRARY error with CMake 3.16 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
540104,1 | CMake: Fix AUTORCC_OPTIONS INTERFACE_LIBRARY error with CMake 3.16 | 6.6.2 | qt/qtbase | Status: ABANDONED | +2 | 0 |
540434,2 | CMake: Fix AUTORCC_OPTIONS INTERFACE_LIBRARY error with CMake 3.16 | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
540666,2 | CMake: Fix AUTORCC_OPTIONS INTERFACE_LIBRARY error with CMake 3.16 | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
540858,2 | CMake: Fix AUTORCC_OPTIONS INTERFACE_LIBRARY error with CMake 3.16 | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |