Here is my code:
QFile test(\"://needle.png\"); // also tried :/needle.png :\\needle.png :\\\\needle.png if(test.open(QFile::ReadOnly)) { qDebug() <&
Does the URL notation
QFile test("qrc:///needle.png");
work for you?