qtbase: move virtual/libgl dependency to extra variable
authorSimon Busch <morphis@gravedo.de>
Wed, 8 May 2013 17:51:18 +0000 (19:51 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:44:30 +0000 (08:44 -0800)
commitbbd7bed6715c812ec58c3b72eab61c80480c5692
tree5ecfeb2e91b069b53b5c68127ca126adca9882a1
parent81fc87cdd13041e695613a51d3dd9a32d93981a1
qtbase: move virtual/libgl dependency to extra variable

* makes it easier to change desktop gl to gles2 in .bbappend

* we cannot explicitly disable opengl with -no-opengl, because then it
  fails to build (probably only when mesa headers are found in sysroot)
  /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:62:72: error: 'QPlatformOpenGLContext' has not been declared
  /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp: In constructor 'QEGLPlatformContext::QEGLPlatformContext(const QSurfaceFormat&, int*, EGLDisplay, EGLenum)':
  /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:69:70: error: invalid static_cast from type 'int*' to type 'QEGLPlatformContext*'
  The same with 5.0.2

(From meta-qt5 rev: 94b2064593e565ceaefdd7ef32506a99b0e6792b)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qtbase.inc