KDeclarative doesn't build with Qt 5.2 due to QOpenGLContext::isOpenGLES() from plotter

Martin Gräßlin mgraesslin at kde.org
Fri Mar 13 07:13:50 UTC 2015


On Thursday 12 March 2015 23:42:54 Albert Astals Cid wrote:
> El Dijous, 12 de març de 2015, a les 14:03:09, Jan Kundrát va escriure:
> > Hi,
> > kdeclarative doesn't build on Qt 5.2 since commit
> > 25c37a8a599f66e65be44ef99fd1fc8ca55dd477 [1] which introduced a hard dep
> > on
> > QOpenGLContext::isOpenGLES(), which is 5.3+ only. That commit was merged
> > almost two months ago. Seems that I should configure some breakage
> > notifications from the Zuul CI.
> > 
> > Is KDeclarative supposed to support Qt 5.2?
> 
> CMakeLists.txt says yes :D
> 
> I guess we can either increase that to 5.3 or wrap the isOpenGLES with an
> ifdef and assume it's false for < 5.3

it can easily be a ifdef depending on whether Qt is compiled against OpenGL or 
OpenGLES. There should be (TM) similar code in plasma framework or in KWin 
history prior to switch of 5.3.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150313/b53ca0ea/attachment.sig>


More information about the Kde-frameworks-devel mailing list