You do not need qrc
, resources start with :
eg QFile myFile(":/data/data.xml");
PS: I'm not sure how QFile considers case sensitivity of resource files. For better portability, you may need to make sure that the case matches everything in your qrc
file.
source share