mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-16 14:15:57 -06:00
[GH-ISSUE #131] Support QQmlComponent and QuickView for interacting with QML Objects from C# #80
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iWeaverMan on GitHub (May 13, 2019).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/131
https://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html
@pauldotknopf commented on GitHub (May 14, 2019):
I haven't actually tested a QmlComponent, but my understanding it that it is passed around as a QObject.
We support interacting with QObjects, by using the INetQObject type.
Try declaring a method with INetQObject as a parameter, and pass a QML component to it. I'd imagine that it would work.
@pauldotknopf commented on GitHub (Jun 10, 2019):
With this:
I was able to interact with it via:
Feel free to re-open if you have a repro.