Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is it impossible main.qml in qml.qrc access other qrc image resource?
bstill last edited by
recent qt creator generates <main.qml> file in resource file 'qml.qrc' when <Qt Quick Applicaiton> project.
by some reason, if I add <icon.qrc> resource file and add icon in it,
it seems to be can't access icon resouce in <icon.qrc>
I can't access using "qrc:/icon/some.png" url.
Is qml resource file (icon..etc) must be exists in qml.qrc?
Try with ":/icon/some.png", or change the prefix inside icon.qrc to be the same as in qml.qrc.