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

QBindableInterafce needs to support metatype != property type

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P1: Critical
    • 6.2
    • 6.1, 6.2
    • Core: Object Model
    • None

    Description

      We might have a property stored in a QPointer, but want to expose a plain pointer to the metatype system. To correctly handle assignments through the metatype system (e.g. in the QML engine), the type returned by the BINDABLE function should however match the type declared in the Q_PROPERTY declaration.

      To enable this, we need to allow construction of QBindableInteraces which do the necessary conversions internally.

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes