QTBase fails with Configure task


Trying to compile a QT 5 application. when building qtbase from meta-qt5 layer from sumo branch facing error with configure tasks.

The OpenGL functionality tests failed!
| You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
| QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

There seems to be successful build case previously with WP75 but seems to be failing with WP76.

Can you kindly advise the correction to complete the qtbase build. Attached is the do_configure logs
log.do_configure.9492 (35.0 KB)

We also see some a document from previous forum post
Legato_Yocto_Qt5_Compilation.pdf (48.7 KB)

But this seems to be not working with R16.3 SDk.

Looking forward to some suggestions.

Thanks in advance.

Attached is the qt5 sumo layer
meta-qt5-sumo.zip (556.3 KB)

The conf files
bblayers.conf (2.2 KB)
local.conf (11.8 KB)

see if this helps


Hi @jyijyi

Will try and update by today.

Thanks & Regards,



Thanks the changes help to compile the qtbase. Attached is the updated qtbase_git.bb

Thanks & Regards,

Pankaj Sant.
qtbase_git.bb (14.0 KB)