I don't think this has to do with relative path names. The way .qrc files work is that the image files are compiled into the application binary and it sets up a virtual file system inside the binary that contains stuff from the resource file. The path "qrc:///image.png" is actually an absolute one.
I don't think this has to do with relative path names. The way .qrc files work is that the image files are compiled into the application binary and it sets up a virtual file system inside the binary that contains stuff from the resource file. The path "qrc:///image.png" is actually an absolute one.