Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.10
-
None
Description
The following check should resolve to true:
#if QT_DEPRECATED_SINCE(5, 11) && !defined QT_NO_TEXTDATE
Because QT_NO_TEXTDATE is not in qdoc's 'defines' variable, and QT_DEPRECATED_SINCE(.) is *not in 'falsehoods'. However, it resolves to false - this is because qdoc expects defined condition to be wrapped in parentheses, which is always isn't.
Attachments
For Gerrit Dashboard: QTBUG-62931 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
204308,2 | qdoc: Fix handling of '#if defined' preprocessor statements | 5.9 | qt/qttools | Status: MERGED | +2 | 0 |