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

Support QML-defined attached properties

    XMLWordPrintable

Details

    Description

      Currently, users can implement custom attached properties in C++ (https://doc.qt.io/qt-6/qtqml-cppintegration-definetypes.html#providing-attached-properties ) It would be handy if it were possible to implement them in QML too (even if the QML-defined ones aren't as flexible as the C++-defined ones)

       

      Use-case

      This would allow user-defined attached properties to be used in Qt Design Studio projects. Currently, Qt DS cannot preview anything that relies on custom attached properties because Qt DS doesn't run AOT-compiled code.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes