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

QtRO qt_add_repc_replicas cannot uses QML_ELEMENT

    XMLWordPrintable

Details

    Description

      when I trying to use RemoteObject with QML, I have to use a wrapper class or old API.
      qmlRegisterType<MyTypeReplica>("custom",1,0,"MyTypeReplica")
      https://doc.qt.io/qt-6/qtremoteobjects-qmlmodule.html

      I expect RemoteObject allowed to specific QML_ELEMENT inside .rep file.
      and adding a section in qt_add_qml_module for .rep to make QtQuickCompiler work well with it.

      Attachments

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

        Activity

          People

            bstottle Brett Stottlemyer
            jiu shanheng jiu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes