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

Forward headers are not generated for deprecated classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.3.0
    • 5.15
    • Build System
    • None
    • 6c174364491ea6674df64f26934f9418f7f40651

    Description

      The syncqt.pl script is not able to find the class names marked with QT_DEPRECATED.* macros. Therefore, no headers in the "include/" directory are generated for such classes. For example:

      class QT_DEPRECATED_VERSION_X(5, 15, "message") Q_XML_EXPORT QXmlReader
      {
      ...
      }
      

      No "include/QtXml/QXmlReader" header will be generated. That makes impossible deprecating entire classes.

      As a workaround we can deprecate only the constructors, but it would be better if we could deprecate the class itself.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              sonakur Sona Kurazyan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes