user2449761
user2449761

Reputation: 1229

Qt OpenGL dynamic vs. desktop

What is the difference between Qt versions with dynamic and desktop OpenGL? http://tver-soft.org/qt64

Upvotes: 5

Views: 4000

Answers (1)

OFE
OFE

Reputation: 356

It is likley that this refers to the configure option that was set when they compiled Qt. This option is explained in detail here: https://blog.qt.io/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

To summarise, Qt can be compiled to use ether the desktop OpenGL (a direct interface to the graphics driver provided OpenGL version) or to use Angle (a version of OpenGL that uses directX to provide hardware GL support).

Using 'desktop' gives you the latest (and deprecated) OpenGL features where available, but some drivers do not work properly.

Qt now relies on OpenGL to do important 2D rendering and can be badly affected by faulty drivers. For this reason you have the safer option of Angle, safer but limited to OpenGL ES 2.0 functionality.

Dinamic is a new option that will select between them automatically at runtime on the user's machine. It does however mean that you will need to use the Qt OpenGL API (rather than e.g. GLEW) to access OpenGL.

If you are not going to use OpenGL directly in your code then you should chose dynamic.

You should also consider compiling the code for yourself, as you are trusting your and your user's security to tver-soft.org. Even without malicious intent these files may be a security risk.

Upvotes: 10

Related Questions