Hello all,

Raised https://bugs.webkit.org/show_bug.cgi?id=101260 for a build issue
using abd77b3f85375632aa313934e8eb9ae89f2bbf2e from the qtwebkit-2.3 repo

Was trying to do an ARM build for an embedded Linux platform having Qt 4.8.1 + 
OpenGL ES2.

Found the issue to be from Source/WebCore/WebCore.pri and in particular:
contains(DEFINES, WTF_USE_3D_GRAPHICS=1) {
    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
}
which I believe could be changed to:
contains(DEFINES, WTF_USE_3D_GRAPHICS=1) {
    contains(QT_CONFIG, opengles2):!win32: LIBS += -lEGL
    mac: LIBS += -framework IOSurface -framework CoreFoundation
    linux-*: {
        xlibAvailable() {
            contains(DEFINES, HAVE_XCOMPOSITE=1): LIBS += -lXcomposite
            LIBS += -lXrender
            CONFIG *= x11
        }
    }
    haveQt(4): QT *= opengl
}
How does that sound?

Thanks
Cedric

PS: to get as far as the link, please note that the patch from 
https://bugs.webkit.org/show_bug.cgi?id=101249 is needed
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to