[Interest] What for does qt5gui need OpenGL?

André Pönitz andre.poenitz at mathematik.tu-chemnitz.de
Fri Nov 8 21:46:40 CET 2013

On Fri, Nov 08, 2013 at 07:15:29PM +0000, Joseph Crowell wrote:
> >> AFAIK you can build Qt5 with no-opengl switch and you should be able to run
> >> QtWidgets applications without having libQt5OpenGl dependency in libQt5Gui.
> > The problem is that this won't scale. One cannot provide custom builds of
> > Qt for each realistic user configuration, let alone proactively package
> > such stuff in large quantities. Requiring the users to run one, or one out
> > of a few "blessed" configurations is likewise infeasible.
> >
> > Runtime detection of capabilities and selecting features _then_ is
> > the only viable appraoch.
> The platform developers can and should provide custom builds of Qt 5 for 
> their embedded platform. The fact that embedded platform developers 
> didn't know enough about Qt to know that they could compile Qt 5 without 
> Open GL worrys me.

The "platform" case is not the problem as such.

The worrying case are the people who need to build Qt for an unknown set
of target configuration, like the typical pre-build Windows application
that bundles their libraries, or even Linux distributions themselves.


More information about the Interest mailing list