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

Support customized property handling

    XMLWordPrintable

Details

    Description

      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).

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes