Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Quick app and cmake
_Ali last edited by
Can we use .qrc file residing in a sub directory of a project ?
I have a simple project setup where in "ui" directory I have qml.qrc file and and main.qml file. I plan to keep all my qml files in "ui" directory and may even group qml files further into sub-directories inside "ui" directory.
My question is how can I load qml.qrc file from ui directory? Any other suggestions regarding this are also welcome.
Hi and welcome to devnet,
.qrcfiles are not loaded, they are processed so that the files linked in it are built in your application. So there's nothing special you have to do except referencing them properly in your .pro file.