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

Deprecations in QQuickPinchHandler are done incorrectly

    XMLWordPrintable

Details

    • 69a0c6f3c (dev), e7f9459cb (6.5)

    Description

      Multiple properties in QQuickPinchHandler are marked as deprecated since Qt 6.5 (see https://codereview.qt-project.org/c/qt/qtdeclarative/+/447671 or https://codereview.qt-project.org/c/qt/qtdeclarative/+/446412).

      However, all of the deprecations are missing the QT_DEPRECATED_{X_}_6_5 macro in front of the method declarations.
      As a result, there are no warnings for the usages of the deprecated APIs and also one use of translation() call missed. This breaks the builds with QT_DISABLE_DEPRECATED_UP_TO.

      Please check https://wiki.qt.io/Deprecation regarding how to deprecate the APIs correctly, and add the proper macros.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            ivan.solovev Ivan Solovev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change