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

quiview.mm uses deprecated QPointingDevice method, breaking 6.8 compilation from Src on iOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.8.1, 6.9.0 FF
    • 6.8.0
    • QPA
    • None
    • iOS/tvOS/watchOS
    • cc24213bd (dev), f3f9b2ea8 (6.8)

      6.8.0/Src/qtbase/src/plugins/platforms/ios/quiview.mm, line 374

      touchDevice->setCapabilities(touchCapabilities);

       

      6.8.0/Src/qtbase/src/gui/kernel/qpointingdevice.h, line 91

      #if QT_DEPRECATED_SINCE(6, 0)
          QT_DEPRECATED_VERSION_X_6_0("Use the constructor")
          void setType(DeviceType devType);
          QT_DEPRECATED_VERSION_X_6_0("Use the constructor")
          void setCapabilities(QInputDevice::Capabilities caps);
          QT_DEPRECATED_VERSION_X_6_0("Use the constructor")
          void setMaximumTouchPoints(int c);
      #endif

      This breaks Qt 6.8 build from source when ./configure is used with -disable-deprecated-up-to 0x060800. (Probably also breaks any other iOS build with deprecated up to 6.x)
      Temporary workaround is to disable-deprecated up to 5.99.

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

            vestbo Tor Arne Vestbø
            mspeder Matthieu Speder
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes