I have the code below. I am using Qt_5_0_2_MSVC2012_64bit-Release. I am not able to read the file. I get the debug error message of \"Cannot open file for reading\".There is som
I had same problem. The Error string was "Unknown error". Solution was to add INCLUDEPATH += . from @gatto's answer and run commands from menu:
INCLUDEPATH += .
1. Build -> Clean all 2. Build -> Run qmake 3. Build -> Rebuild All