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

QtNFC: fix ndefeditor example GUI

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0, 6.6.0
    • 6.2, 6.3
    • Connectivity: NFC
    • None
    • Android, iOS/tvOS/watchOS
    • 13
    • 115b4d947 (dev), b9ab0e98a (6.5)
    • Team A Foundation Sprint 59, Foundation Sprint 65, Foundation Sprint 66, Foundation Sprint 67, Foundation Sprint 68, Foundation Sprint 69, Foundation Sprint 70, Foundation Sprint 71, Foundation Sprint 72, Foundation Sprint 73, Foundation Sprint 74, Foundation Sprint 75

    Description

      The ndefeditor example gui uses a QPushButton with a QMenu attached to it.

      Because of QTBUG-97482 and QTBUG-98985 (which is closed just because it's a duplicate of QTBUG-98651), this UI does not work neither on Android, nor on iOS.

      So one of the examples is basically unusable.

      The fixes for these bugs do not seem to be trivial, so we need to somehow overcome them.

      One approach will be to use QML-based GUI instead of using QWidgets.

      Update: the approach with manual menu management works, but also requires to re-create menu each time (because of Android bug). That is not optimal, but should be fine as a quick fix to re-enable the example. Still, the best way would be to provide QML GUI.

      Once the GUI is updated, we need to update the example's documentation as well (at least update the screenshot)

      Attachments

        Issue Links

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

          Activity

            People

              ievgenii.meshcheriakov Ievgenii Meshcheriakov
              ivan.solovev Ivan Solovev
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes