Here is my code:
QFile test(\"://needle.png\"); // also tried :/needle.png :\\needle.png :\\\\needle.png if(test.open(QFile::ReadOnly)) { qDebug() <&
I had exactly the same problem. Running qmake again finally worked (build -> run qmake).