Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

External Header files not found in Qt Creator 2.7.0 (Qt 5.0.2, 32 bit)

$
0
0
I have installed Qt 5.0.2, also build a new Gui App, and it works fine. But somehow any external header file is not been found by compiler. Details: Project dir structure:  -- [Folder > e:\prdir]         | -- empty.h         | -- [Project folder > test]                    |-- main.cpp                    |-- mainwindow.h                    |-- mainwindow.cpp                    |-- test.pro in mainwindow.h, I just #include “empty.h” and in .pro file a line INCLUDEPATH += e:\prdir and I recieved error: e:\test\mainwindow.h:5: error: C1083: Cannot open include file: ‘empty.h’: No such file or directory If i place empty.h in Project folder it does work. The autocomplete feature is able to find the empty.h file This use to work before, but somehow something got wrong which i am not able to understand. Using: Windows 8 – 64 bit VS 2010 I had installed 4.8.2 too with 5.0.1, then uninstalled both and installed 5.0.2. I think this broke something that i am not able to link to external header files. any help?

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>