[Interest] [Qt][Qml] Using OpenGL CoreProfile status

Sean Harmer sean.harmer at kdab.com
Thu Apr 21 10:19:41 CEST 2016


On Wednesday 20 April 2016 15:43:17 Jérôme Godbout wrote:
> Hi,
> We have move from 5.2 to 5.5, we are trying to plan to move to OpenGL
> CoreProfile and finaly ditch the old CompatiblityProfile.
> Normaly I would just test it out, but I have another library that need to
> be port too (we are using VL 1.0, which doesn't play well with CoreProfile,
> there's a 2.0 branch but it's not there yet.). So I cannot just move our
> code base like that.
> I would like to known if I should plan much work to move our Qt / Qml
> implementation to CoreProfile ?
> Controls were still buggy in core profile not so long ago in 5.2 at least,
> I wonder if this still the case? is anything else like QmlShader
> GraphicalEffect are playing nicely with core profile?

I think I fixed the broken shader that the core profile was complaining about. 
The thing to watch out for is if your application makes use of ShaderEffect 
directly or via QtGraphicalEffects. For direct use you'll need to port the 
GLSL - there's still no way of selecting between shaders based upon the profile 
or version in use within Qt Quick. I've not tried the qtgraphicaleffects 
module with core profile, it may well need porting which given the above 
comment about not being able to detect profile in use may be interesting.

Other than that I think Qt Quick 2 works fine with the core profile. If you find 
something that doesn't, please file a JIRA.


Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
KDAB (UK) Ltd, a KDAB Group company
Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
Mobile: +44 (0)7545 140604
KDAB - Qt Experts

More information about the Interest mailing list