Thank you for your answer, I tried your suggestion and it didn't work. Have spent another day working on this.
Create another blank test app instead of sound just trying to get one image to load OUTSIDE the qrc resource file.
Get anything to load externally.......
In the main.qml I have just one image
The compiler error
It is looking for the file in the qrc resource file. (which it isn't there as the attempt is to load external file outside resource)
qrc:/qml/testingQRC/main.qml:24:5: QML Image: Cannot open: qrc:/qml/testingQRC/Icon.png
I then have added to the pro file like so
OTHER_FILES += \
qml/testingQRC/Icon.png (throws same error as above)
When I use source: file:Icon.png there is no wriggly line so qt creator sees the file.
source: "file:Icon.png" Compiler error QML Image: Cannot open: file:Icon.png
source: "file:/Icon.png" Compiler error QML Image: Cannot open: file:///Icon.png
and I've tried all variations of file: /// or // or ../ or ../../
Every where I have read says I should just add file:/ and it will work....
I found this link querying the same problem
as sound can not be added to qt resource file and then play on phone, it needs to be added externally.
The correct behaviour is that a "file:/" is required.
So any ideas? or does anyone have code that actually works, that I could try?
I am on win7 and