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.