[Webkit-unassigned] [Bug 101260] New: [Qt] QtWebKit-2.3 tries to link against Xrender on OpenGLES2 platform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 5 14:43:10 PST 2012


           Summary: [Qt] QtWebKit-2.3 tries to link against Xrender on
                    OpenGLES2 platform
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: chombourger at mvista.com

While Building QtWebkit-2.3 (git commit abd77b3f85375632aa313934e8eb9ae89f2bbf2e, from git://gitorious.org/+qtwebkit-developers/webkit/qtwebkit-23.git) for an embedded system running Qt 4.8.1 with OpenGL ES2, the build eventually dies with a failure to find -lXrender.

Linking against Xrender was introduced with the below change:

commit 611b1450798b71d2931d1d90a585e2cae77ac4c2
Author: commit-queue <commit-queue at webkit.org>
Date:   Wed Sep 12 12:10:20 2012 +0000

    [Qt] Build on X11 with GraphicsSurface but without NPAPI is broken

    Patch by Simon Hausmann <simon.hausmann at nokia.com> on 2012-09-12
    Reviewed by Kenneth Rohde Christiansen.

    When enabling NPAPI we link against XRender on X11. The other component that needs Xrender
    is GraphicsSurface. So when building without NPAPI we need to make sure that we link in Xrender.

    This patch cleans up the GraphicsSurface related linkage required on Mac OS X and X11 by wrapping
    it in use?(graphics_surface) instead of 3D_GRAPHICS. It is not neccesary to perform the have?(XCOMPOSITE)
    check anymore because it's already done in features.prf before enabling use_graphics_surface in the
    first place.

    * WebCore.pri:

    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128294 268f45cc-cd09-0410-ab3c-d52691b4dbfc

In WebCore.pri, one can indeed read:

    contains(QT_CONFIG, opengles2):!win32: LIBS += -lEGL
    mac: LIBS += -framework IOSurface -framework CoreFoundation
    linux-*: {
        contains(DEFINES, HAVE_XCOMPOSITE=1): LIBS += -lXcomposite
        LIBS += -lXrender
        CONFIG *= x11
    haveQt(4): QT *= opengl

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