Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Using local types in remote qml files

$
0
0
I am currently trying to import qml files from a remote directory (see Thread [qt-project.org]). So far, I can load qml files that are in the remote dir, but when I try to use qmls (types) from my local directory, the access doesnt work “Type LocalType unavailable”. How can I fix this? The access works if I use “Qt.createQmlObject”, so I hope it will work for those imports too. For better comprehension here is an example filetree: local (/home/user/workspace/qml) main.qml (imports page1.qml with remote import) button.qml remote (192.168.1.23/qml) page1.qml (uses button.qml)

Viewing all articles
Browse latest Browse all 4972

Trending Articles