Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.2.5, 6.3.1, 6.4.0 Beta2
-
None
-
5
-
b83fc9f41a (qt/qtbase/dev) b83fc9f41a (qt/tqtc-qtbase/dev)
-
Foundation Sprint 64, Foundation Sprint 65
Description
When building qttools repo with QT_DISABLE_DEPRECATED_BEFORE=0x060000 and sevarel patches applied, I run into a linking error when building qhelpgenerator, because it tries to find the deprecated symbols, ignoring the fact that I guarded the relevant calls with #if QT_DEPRECATED_SINCE().
If I explicitly extend its CMakeLists.txt to define QT_DISABLE_DEPRECATED_BEFORE, the error is gone.
Same is valid for the assistant target.
Attachments
For Gerrit Dashboard: QTBUG-105102 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
429157,5 | QtBase tools: port away from deprecated qSetGlobalQHashSeed(0) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
429158,5 | CMake: propagate deprecations definitions to tools and apps | dev | qt/qtbase | Status: MERGED | +2 | 0 |
429160,2 | QtDeclarative: port away from deprecated qSetGlobalQHashSeed(0) | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
429225,2 | QDoc: port away from deprecated qSetGlobalQHashSeed(0) | dev | qt/qttools | Status: MERGED | +2 | 0 |
429356,5 | QtTools utils: port away from deprecated QLocale calls | dev | qt/qttools | Status: MERGED | +2 | 0 |
429357,2 | QtTools: port away from deprecated operator""_qs() | dev | qt/qttools | Status: MERGED | +2 | 0 |
429358,2 | QDoc: port away from deprecated QRegularExpression calls | dev | qt/qttools | Status: MERGED | +2 | 0 |
429365,2 | Port away from deprecated QRegularExpression::match() call | dev | qt/qt3d | Status: MERGED | +2 | 0 |
429366,2 | Port away from deprecated QRegularExpression::match() call | dev | qt/qtremoteobjects | Status: MERGED | +2 | 0 |