Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Smooth integration of OpenGL 4.x with Qt...
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?
RobotR last edited by
Qt wraps OpenGL1.1 interface.
Just include and link to the openGL version you want to use.
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.
Oh and I want to use "Core Profile"!
dangelog 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.
ZapB 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