Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Do i need to compile Qt 5.11 open source to support OpenGL? or the QtGui enough?



  • Hello all
    i need to use OpenGL for game engine , from what i read to enable using OpenGL i need to compile from source Qt . as it described here :
    http://doc.qt.io/qt-5/windows-requirements.html#graphics-drivers

    but the process to compile it take long hours ..
    my question is :
    Does t necessary ? doesn't Qt open source doesn't come with OPENGL build in support via QtGUI?


  • Lifetime Qt Champion

    Hi,

    There's no need for you to compile Qt. It already supports OpenGL.



  • @SGaist
    Thanks
    so what is this page i posted ?
    in which case when i need use OpenGL i need to compile from source ?



  • @umen242

    On Windows, basically none. The official binaries have support for OpenGL.

    Older versions could only have ANGLE or standard Desktop OpenGL but not both, so you had to choose which you downloaded. (But even then, full OpenGL binaries were always available.) If you need to build Qt from source for some other reason you may need to be careful how you configure it to make sure you build a library with the OpenGL support you want. For example, if you only wanted to support Desktop OpenGL and you wanted the smallest possible binaries, you might build a custom version that turns off many other optional features.


Log in to reply