Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104131

Make QT_INLINE_SINCE(maj, min) remove the out-of-line fall-back when deprecation point passes past (maj, min)

XMLWordPrintable

    • 5
    • 5a5bc86028 (qt/qtbase/dev)
    • Team Two Foundation Sprint 51, Foundation Sprint 61, Foundation Sprint 62

      After QTBUG-100452 made it possible to inline formerly-exported (member) functions, we currently use the supplied (major, minor) version number only for documentation purposes, to indicate in which Qt version the function was made inline.

      However, QTBUG-101510 asks for a configure switch to remove legacy ABI physically from the library, which atm would include deprecated and removed (QT_REMOVED_SINCE) ABI, but not inlined functions.

      This task is about changing the definition of the QT_MODULE_INLINE_(IMPL_)SINCE macros to use the supplied version number to

      1. omit the out-of-line definition the function
      2. inline the function even in the same library

        For Gerrit Dashboard: QTBUG-104131
        # Subject Branch Project Status CR V

            ivan.solovev Ivan Solovev
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes