[Solved] Smooth integration of OpenGL 4.x with Qt...
-
wrote on 10 Aug 2010, 18:00 last edited by
How to do that? How to change code of Qt if current version do not integrate with OpenGL version I want to use?
And do you know any good docs about OpenGL 3.x|4.x and Qt?
-
wrote on 12 Aug 2010, 05:49 last edited by
Qt wraps OpenGL1.1 interface.
Just include and link to the openGL version you want to use.
-
wrote on 12 Aug 2010, 06:43 last edited by
Can You be more specific ?
Where to include headers of OGL3|4? Qt have class that create context for OGL, how to change it to OGL3|4?
Linking will be probable the simplest of steps.
-
wrote on 13 Dec 2010, 09:03 last edited by
Oh and I want to use "Core Profile"!
-
wrote on 13 Dec 2010, 13:06 last edited by
[quote author="przemo_li" date="1281463235"]How to do that? How to change code of Qt if current version do not integrate with OpenGL version I want to use?
And do you know any good docs about OpenGL 3.x|4.x and Qt?[/quote]
This does not make any sense. Qt uses and exposes the version reported by the OpenGL renderer you have; you can use QGLFormat::setVersion() to try opening a context with a specific version.
-
wrote on 14 Oct 2011, 10:57 last edited by
Sorry to necro post but this thread came up in a search and it's still un-solved. So here's the "solution":http://developer.qt.nokia.com/wiki/How_to_use_OpenGL_Core_Profile_with_Qt