What is the benefit of using multiple prefixes in qml.qrc file?
Unsolved
QML and Qt Quick
-
I have a brand new QTQuick project, but changed the directories to this:
/assets/i18n/en_US.ts /build /src | cpp/main.cpp | qml/main.qml /Program.pro /qml.qrc
In steps:
- When adding the prefix
/src/qml/
to the qml.qrc file like this
- And then add a existing file to the qml.qrc file like this
- QT Creator then does this:
Now is my question, why in the hell would I add a prefix, iif any files added to that prefix also has to contain the prefix. This makes not sense ?
- When adding the prefix
-
@niquedegraaff can you open your qml.qrc file in an text editor and take a look at it?
And try with and without prefix.