Is it impossible main.qml in qml.qrc access other qrc image resource?
-
!http://i.imgur.com/fjrQQwN.png()!
Hi, all
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.