[Webkit-unassigned] [Bug 93278] New: QtWebKit fails to build with OpenGL support on QNX

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 6 10:01:35 PDT 2012


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

           Summary: QtWebKit fails to build with OpenGL support on QNX
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: milian.wolff at kdab.com


The Qt-Port of WebKit tries to enable 3D support by default for Qt5 which fails when trying to built it for QNX:

perl Tools/Scripts/build-webkit --qt --qmake="path/to/qnx/qmake-qt5" --debug
...
make[2]: Entering directory `/home/milian/projects/qt5/build-playbook/qtwebkit/Debug/Source/WebCore'
qcc -Vgcc_ntoarmv7le -lang-c++ -c -fstack-protector -fstack-protector-all -Wno-psabi -g -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DQ_OS_BLACKBERRY -DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_ANIMATION_API=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_BLOB=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSP_NEXT=0 -DENABLE_CSS3_FLEXBOX=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILE_SYSTEM=0 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_FULLSCREEN_API=1 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATIO
-I/home/milian/projects/qt5/qtwebkit/Source/WebCore/rendering/svg -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/storage -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/animation -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/graphics -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/graphics/filters -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/properties -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/testing -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/websockets -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/workers -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/xml -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/xml/parser -I/home/milian/projects/qt5/qtwebkit/Source/ThirdParty -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/bridge/jsc -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/bindings/js -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/bridge/c 
In file included from /home/milian/projects/qt5/qtwebkit/Source/WebCore/bindings/js/JSCanvasRenderingContextCustom.cpp:34:
/home/milian/projects/qt5/qtwebkit/Source/WebCore/html/canvas/WebGLRenderingContext.h:30:27: error: DrawingBuffer.h: No such file or directory


with --no-webgl:

perl Tools/Scripts/build-webkit --qt --qmake="path/to/qnx/qmake-qt5" --debug --no-webgl

qcc -Vgcc_ntoarmv7le -lang-c++ -c -fstack-protector -fstack-protector-all -Wno-psabi -g -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DQ_OS_BLACKBERRY -DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_ANIMATION_API=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_BLOB=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSP_NEXT=0 -DENABLE_CSS3_FLEXBOX=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILE_SYSTEM=0 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_FULLSCREEN_API=1 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATIO
-I/home/milian/projects/qt5/qtwebkit/Source/WebCore/rendering/style -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/rendering/svg -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/storage -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/animation -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/graphics -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/graphics/filters -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/svg/properties -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/testing -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/websockets -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/workers -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/xml -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/xml/parser -I/home/milian/projects/qt5/qtwebkit/Source/ThirdParty -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/bridge/jsc -I/home/milian/projects/qt5/qtwebkit/Source/WebCore/bindi
In file included from /home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/egl.h:36,
                 from /home/milian/projects/qt5/qtwebkit/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:33:
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:95:22: error: X11/Xlib.h: No such file or directory
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:96:23: error: X11/Xutil.h: No such file or directory
In file included from /home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/egl.h:36,
                 from /home/milian/projects/qt5/qtwebkit/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:33:
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:98: error: expected initializer before '*' token
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:99: error: 'Pixmap' does not name a type
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:100: error: 'Window' does not name a type
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:115: error: 'EGLNativeDisplayType' does not name a type
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:116: error: 'EGLNativePixmapType' does not name a type
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/eglplatform.h:117: error: 'EGLNativeWindowType' does not name a type
In file included from /home/milian/projects/qt5/qtwebkit/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:33:
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/egl.h:251: error: 'EGLNativeDisplayType' was not declared in this scope
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/egl.h:266: error: 'EGLNativeWindowType' has not been declared
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/egl.h:271: error: 'EGLNativePixmapType' has not been declared
/home/milian/projects/qt5/qtwebkit/Source/ThirdParty/ANGLE/include/EGL/egl.h:314: error: 'EGLNativePixmapType' has not been declared
cc: /home/milian/bbndk-2.0.1/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.5.0eabi/4.4.2/cc1plus error 1
make[2]: *** [obj/debug/platform/graphics/opengl/Extensions3DOpenGLES.o] Error 1
make[2]: Leaving directory `/home/milian/projects/qt5/build-playbook/qtwebkit/Debug/Source/WebCore'
make[1]: *** [sub-Target-pri-make_first-ordered] Error 2
make[1]: Leaving directory `/home/milian/projects/qt5/build-playbook/qtwebkit/Debug/Source/WebCore'
make: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2
makeobj[0]: Leaving directory `/home/milian/projects/qt5/build-playbook/qtwebkit/Debug'


I'll now try to build with --no-3d-rendering and also add the compile errors here. Last time I tried, it didn't work either. Looking at Tools/qmake/mkspecs/features/features.prf it seems as if the 3D graphics stuff is always enabled there on QNX. The question is now: Should I write a patch to disable 3D support in the features.prf or should one try to enable 3D rendering on QNX by somehow fixing the errors above? How is the official BlackBerry port handling this?

-- 
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