Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96795 QtLocation maps to Qt 6.2
  3. QTBUG-106482

Remove unnecessary declarative wrapper types

XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.4.0
    • Location
    • None
    • Team 1 Foundation_Sprint 44
    • 16e6505c95 (qt/qtlocation/dev) 16e6505c95 (qt/tqtc-qtlocation/dev)

      Many types in Qt Locations have declarative wrappers through which they are exposed to the QML engine as objects. E.g. QDeclarativeRatings for QPlaceRatings. In practice however, these are value types that don't need to be instantiated by QML code, and instead always come from the engine (via search models etc).

      We can convert those types to Q_GADGET, and remove those declarative wrappers. Tests to some degree assume that these properties are of object-type, those need to be adjusted.

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

            vhilshei Volker Hilsheimer
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes