Reputation: 1416
We have a Qt based (C++) application, which even when run with no direct opengl/graphics widgets being created, still seems to load QtOpenGL4.dll and other libraries (e.g. d3dcompiler). We were thinking ideally it shouldn't have used them but it does, and thus they need to be present when we deploy the application. Does Qt GUI intrinsically need OpenGL or OpenGL ES (with ANGLE) with most of its widgets (even list/tree/text etc.)? If not most, are there any specific seemingly simple widgets that use them?
Upvotes: 1
Views: 1785
Reputation: 388
This is depending on how Qt libraries are built. When using prebuild binaries (for windows) opengl support is enabled and library is loaded dynamically thus there is no explicit linking to system opengl or directx libraries. I could not recall was there some differences between Qt4 and Qt5 how this is implemented.
This document enlights the mechanism more.
Upvotes: 1