Bug 8221 - shared library QtOpenGLE.so is missing in qt-embedded library list.
Summary: shared library QtOpenGLE.so is missing in qt-embedded library list.
Status: RESOLVED NOTABUG
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.7.1
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-28 08:04 UTC by prasad
Modified: 2015-08-28 09:52 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.