Cannot open resource file
I had exactly the same problem. Running qmake again finally worked (build -> run qmake).
Does the URL notation
QFile test("qrc:///needle.png");
work for you?
I had exactly the same problem. Running qmake again finally worked (build -> run qmake).
Does the URL notation
QFile test("qrc:///needle.png");
work for you?