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)
↧