Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.0
-
None
-
ff5bc9266 (dev), 1ca3e4d04 (6.8)
Description
When configuring Qt with -disable-deprecated-up-to 0x050f00 the build stops with the following error.
CMake Error at qtbase/src/corelib/CMakeLists.txt:1542 (message): Ivalid format of the QT_DISABLE_DEPRECATED_UP_TO macro: 0x050f00. The expected format is the hexadecimal number, e.g. 0x060102 Call Stack (most recent call first): qtbase/src/corelib/CMakeLists.txt:1562 (qt_internal_library_deprecation_level)
After further investigation the regex in qt_internal_library_deprecation_level does not allow all hexadecimal characters. At least for the last 4 digits [0-9a-fA-F] should be allowed.
Attachments
For Gerrit Dashboard: QTBUG-130119 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
597767,2 | CMake: Fix deprecation level regex | dev | qt/qtbase | Status: MERGED | +2 | 0 |
597887,3 | CMake: Fix deprecation level regex | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |