Click here to Skip to main content
15,889,862 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
http://doc.qt.nokia.com/4.7-snapshot/opengl-hellogl.html
I am using the above example, but many of the headers(QApplication for example) are not found. I am using the newest version of QT. Why?
Posted

1 solution

I took a look at one of the include files to see what is included. Qt header files are included via angle-bracket form of #include directive, see, for example http://msdn.microsoft.com/en-us/library/36k2cdd4%28v=vs.80%29.aspx[^].

My first guess is: you need to setup compiler options to use appropriate include directories to make a compiler look up for them when angle-bracket form of include is found. Did you do it? For example, the MSDN article referenced above shows how to do it for the Microsoft C++ compiler.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900