Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
reuse QML files over different subprojects
I need to reuse a qml component located on a different resource file located under a different subproject.
Tirupathi Korla last edited by
@MirkoV copying to local project under resource file will work.
No you can't. The "reusable" qml file it's not in a subdirectory.
Ok just found a trick: put the qml files in the "qml" directory with a suitable qmldir file.
This can be quite a good solution, but the qml file is publicly exposed :-(
This is the solution (and worked for me).