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

Make the value of QT_DISABLE_DEPRECATED_BEFORE used for Qt builds accessible from ./configure

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None
    • QT_DISABLE_DEPRECATED_BEFORE

    Description

      As a user of Qt who compiles Qt for our target hardware, I'd like to have an easy-to-use configure switch to set QT_DISABLE_DEPRECATED_BEFORE for the Qt build. Currently, the macro's value is hard-coded to 0x040000 and 0x050000 on Windows and non-Windows, resp., but seeing how much API has been deprecated (QT_DEPREATED_SINCE) and removed (QT_X_REMOVED_SINCE) over time, and considering that we already build our Applications with QT_DISABLE_DEPRECATED_BEFORE=QT_VERSION, it seems wasteful to compile in all those ABIs we will never need.

      Suggested command-line API:

      configure --disable-deprecated-before=6.3
      

      or, if that's too much hassle,

      configure --disable-deprecated-before=0x060300
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes