Important: Please read the Qt Code of Conduct -

Qt5 Webkit build issue

  • I am trying to build Webkit in the latest beta snapshot of Qt5. It is an OpenGL ES build (without X11, via passing "-opengl es2" to Qt5 configure) and Qt5 itself builds fine. However, certain components in Webkit still reference missing X11 headers. I would like to have accelerated Webkit rendering if possible. Is there a way around this? Thanks.

    The webkit build command:
    perl Tools/Scripts/build-webkit --qt --install-libs=./lib --release

    The error:
    In file included from /home/drsmooth/qt/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/egl.h:36:0,
    from /home/drsmooth/qt/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:33:
    /home/drsmooth/qt/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:95:22: fatal error: X11/Xlib.h: No such file or directory

  • Moderators

    Comment those parts out?

    The best solution, that would help other people too, is to file a bug report at "JIRA":

    You can also ask on qt-interest mailing list.

Log in to reply