Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
5
-
fed05145bc (qt/qtbase/6.4) fed05145bc (qt/tqtc-qtbase/6.4)
-
Team Two Foundation Sprint 51, Team B Foundation Sprint 59
Description
We have now had several requests for inlining previously-exported
member functions, but no standard mechanism to effect it.
As QT_REMOVED_SINCE has shown, there is great value in having such a
standard mechanism, so here is one.
Develop private API (= macros) to inline a previously exported (member) function,
by simply
- marking the declaration with QT_MODULE_INLINE_SINCE
- moving the definition into the header file (outside the class),
- wrapping it in QT_MODULE_INLINED_SINCE, and
- #include'ing the header into the module's removed_api.cpp
Attachments
Issue Links
- split to
-
QTBUG-104131 Make QT_INLINE_SINCE(maj, min) remove the out-of-line fall-back when deprecation point passes past (maj, min)
- Closed
For Gerrit Dashboard: QTBUG-100452 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
392991,16 | Long live QT_INLINE_SINCE! | dev | qt/qtbase | Status: MERGED | +2 | 0 |
415330,2 | modulecppexports.h.in: re-indent nested preprocessor directives | dev | qt/qtbase | Status: MERGED | +2 | 0 |
416075,2 | modulecppexports.h.in: re-indent nested preprocessor directives | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
416076,3 | modulecppexports.h.in: re-indent nested preprocessor directives | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
416083,1 | modulecppexports.h.in: re-indent nested preprocessor directives | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: ABANDONED | 0 | 0 |
417893,2 | Long live QT_INLINE_SINCE! | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |