Bug 8221

Summary: shared library QtOpenGLE.so is missing in qt-embedded library list.
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: prasad <aprasad>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: bluelightning, poky.bs.watcher, poky.watcher
Version: 1.7.1   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description prasad 2015-08-28 08:04:13 UTC
Hi,

shared library QtOpenGLE.so is missing  in qt-embedded library list


Thank you
Comment 1 Paul Eggleton 2015-08-28 08:41:41 UTC
By default OpenGL is disabled in Qt4 Embedded - you need to set QT_GLFLAGS to include the appropriate options to be passed to Qt's configure script.
Comment 2 prasad 2015-08-28 09:47:27 UTC
Thank you for reply.

I found that QT_GLFLAG in qt4.inc file which is empty, and I modify as follow

QT_GLFLAGS ?="${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '-opengl', '', d)} "

But it again thorough an error. May I know exactly what flag we need to pass.

Thank you(In reply to comment #0)
> Hi,
> 
> shared library QtOpenGLE.so is missing  in qt-embedded library list
> 
> 
> Thank you
Comment 3 Paul Eggleton 2015-08-28 09:52:30 UTC
I'm afraid you'll need to consult the Qt documentation for that - we don't write Qt, we only build it:

http://doc.qt.io/qt-4.8/configure-options.html

Also, you should probably just be setting QT_GLFLAGS outright (with = and I imagine you probably don't need to make it conditional on DISTRO_FEATURES) in a bbappend or your configuration rather than modifying qt4.inc.