[Solved] accessing file:/// outside the .QRC
-
EDIT: Fixed, no need to reply.
I compiled the qml files to a qrc resource.
Now i must access a resource that is in /a.rss , but file:///a.rss only searches inside the compiled qrc . How can i access files outside ? -
Use qrc:/a.rss
-
Good question! I'd like to see the answer :)
"qrc:/a.rss" doesn't helps: it still complaining "Cannot open: qrc:image.jpg" -
nizeguy > How did you fix it? I have been struggling with the exact same issue and could not find a solution yet.
-
Ok, for people who are looking for a solution, it turns out it is pretty easy.
Just explicitly prepend "file://" to files path outside the qrc.