When i’ve tried to compile it, a fatal error occurs!
Line 2! QtOpenGL not found!
i’ve found it Qt\4.4.3\include\QtOpenGL but how should i use it!
I know DirectX SDK should install in design time, I cannot find any SDK for OpenGL, I found some interface at this address http://www.opengl.org/sdk/
I’m really confused, how can i develop with OpenGL, there’s not any kind of SDK!
Please help me!
I’ve no problem with Qt 4.4.3.
I think it’s ok, i’ve not any problem with it. i have only problem with opengl, now i want to know, if i want to develop an application and use OpenGl in it, should i have a SDK and use it?
like DirectX SDK?!
and where can i find its sdk?
No need for an extra sdk, pjmlp gave a link with multiple opengl examples with Qt. Download one, it should compile out of the box. if not, then it means you did not setup Qt correctly, ie. missing include headers and such.
Cpp Deever, I sincerely apologize for having been so harsh, my answer was poorly formulated. I meant that your problem is more related to your Qt setup than OpenGL.
EDIT:
I assume you are working on visual studio, have you checked in your project properties that paths related to header files are correct?
tank you dletozeun and pjmlp.
how this is possible develop an opengl application without any sdk?
I’ve installed Qt Commercial 4.4.3, is the sdk inside it?
Did you finally succeed to configure your project?
If you absolutely want to an OpenGL SDK, there are actually some people that are (still?) working on a unofficial one. If it is released one day, it will be probably too late for you but you may want to bring some suggestion to their attention.