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

Support customized property handling

XMLWordPrintable

      In Qt Script it was possible to use these:

      https://doc.qt.io/qt-5/qscriptclass.html#property
      https://doc.qt.io/qt-5/qscriptclass.html#queryProperty

      to handle unknown properties (or indices!) in a custom way. For example this could be used to create an object that adapts dynamically to something else.

      In QJSEngine there does not appear to be any support for this currently. Only statically defined properties seem possible (defineProperty).

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

            qtqmlteam Qt Qml Team User
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes