[Webkit-unassigned] [Bug 111859] [qt] Webkit fails to compile if EGL headers are not in default INCLUDEPATH

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 11 11:16:14 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=111859





--- Comment #13 from Jocelyn Turcotte <jocelyn.turcotte at digia.com>  2013-03-11 11:18:39 PST ---
(In reply to comment #11)
> Well, I'm not sure if all ARM devices have OpenGL ES/EGL libraries installed at all.
> Some vendors might not supply GPU accelerated ones, and having ones doing software rendering makes little sense on such slow CPUs.
> 
> Naturally, if you are creating a build for a specific device, 3D functionality can simply be disabled at compile time.
> But it would be nice if generic Linux/ARM distributions could provide a single generic QtWebkit package that works on multiple devices, and resorts to disabling 3D functionality at runtime if libEGL is not present.

I don't know this stuff enough to answer you, but if you face a concrete problem that is worth fixing that way we can work on shaping some patch.

> >> win32: {
> >> ...
> >> } else {
> >>     contains(QT_CONFIG, opengles2): LIBS += -lEGL
> >> }
> 
> 
> Do you mean just the non-win32 EGL section, or including the win32 section dealing with OpenGL libs?
> Linking OpenGL libs there should not be necessary if shims take care of that at runtime, but do not have a Windows box to test on.

Some OpenGL function that are available on all implementations are linked at compile time so we still need to link with it.
You can remove the surrounding win32 block, win32-g++ is only available on win32, as its name states, so no need for the extra scope check.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list