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

QtRO qt_add_repc_replicas cannot uses QML_ELEMENT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.7
    • None

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes