[Development] OpenGL Support in Qt5

Shawn Rutledge shawn.rutledge at nokia.com
Mon Jul 16 14:20:27 CEST 2012


On Monday wk29 2012 July 16 05:10:25 AM ext Thiago Macieira wrote:
> On segunda-feira, 16 de julho de 2012 07.47.10, gunnar.sletta at nokia.com 
wrote:
> > I both like and dislike the idea. Like because it resolves all the
> > functions and that way save a lot of pain and dislike because it adds a
> > lot of symbols, and I'm a little bit uncertain on the usecase.
> > 
> > Because the functions are not a well defined subclass hierarchy (and nor
> > can they be), the user will have to make a compile-time decision about
> > which version to code against, making the code less flexible at runtime.
> > Will this be a problem?
> 
> Let me ask this. How will Qt 5 work under this scenario:
> 
>  - QtGui compiled on a regular Linux box, such as current Fedora, Ubuntu,
> openSUSE, etc.
>  - Wayland plugin
> 
> The best Wayland plugin's GL integration is "wayland_egl", which requires:
>     contains(QT_CONFIG, opengles2)
> 
> Do we conclude that Qt 5 should use EGL & OpenGL ES 2 for everything,
> recommend it for everyone, even on desktop systems?

Then you definitely wouldn't get geometry shaders.  I haven't been able to 
figure out how to use them at all yet but I know they are not in the GLES 2 
spec.

-- 
MVH, Shawn Rutledge ❖ "ecloud" on IRC



More information about the Development mailing list