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

QMetaObject::invokeMethod not working when calling from c++ to qml item method.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.15.0
    • Core: Object Model
    • None
    • WebAssembly

    Description

          QVariant aViewItem;
          QMetaObject::invokeMethod(myQuickWindow, "createViewItem",
                                    Q_RETURN_ARG(QVariant, aViewItem),
                                    Q_ARG(QVariant, QVariant::fromValue(theView)));
      

      the code snippet above do nothing.

      The wasm was build with em++ 1.39.20

      Attachments

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

        Activity

          People

            mikolaj.boc MikoĊ‚aj Boc (Inactive)
            bugman Vico Liang
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes