Error using QGLWidget with QGraphicsView
-
I am trying to build and QT5.0.1 on a MIPS 7425 platform, I get following error running browser application which uses QGLWidget. The same browser application and HTML5 page work fine with previous QT4.8.0 build and same opnegl 3d driver from Broadcom. Any ideas about the error? The build is using qpa eglfs, opengl es2. Any inputs appreciated. Have any semantics of QGLWidget changed? Do I need any other config options?
Configure options are — opensource confirm-license -opengl es2 -device mipsel-broadcom-97425 -device-option CROSS_COMPILE=/opt/toolchains/stbgcc-4.5.3-2.4/bin/mips-linux -device-option BRCM_PLATFORM=97425 -device-option BRCM_BHCP_VER=b2 -device-option BRCM_BASE_DIR=/opt/vendor/broadcom/7425/Refsw12.4 -device-option B_REFSW_DEBUG=y -prefix /usr/local/Qt/ -sysroot /opt/toolchains/stbgcc-4.5.3-2.4/mipsel-linux-uclibc/sys-root -no-mips_dsp -no-mips_dspr2 -no-xcb -qpa eglsfs -system-zlib -system-libpng -system-libjpeg -eglfs -no-avx -no-sse3 -no-sse4.1 -no-sse4.2 -no-ssse3 -no-sse2 -fontconfig -icu -system-sqlite -glib -v -gstreamer -force-pkg-config
Surface recreate request, re-using 1
QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0×464510
QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0×441340
Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
Errors linking simple shader:
Vertex shader for blitShaderProg (MainWithTexCoordsVertexShader & UntransformedPositionVertexShader) failed to compile
Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compile
Errors linking blit shader:
QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0×441340QEGLPlatformContext::makeCurrent: eglError: 300d, this: 0×441340
Warning: “” failed to compile!
terminate called after throwing an instance of ‘std::bad_alloc’ what(): std::bad_alloc
./runtest.sh: line 4: 31582 AbortedThe browser code does something like this --
QGLWidget * glWidget;glWidget = new QGLWidget(QGLFormat(QGL::NoDepthBuffer | //dont need depth buffer - scene renders back to front QGL::NoSampleBuffers));//antialiasing really slow down the scene glWidget->resize(screenSize.width(),screenSize.height()); view.setViewport(glWidget); view.setViewportUpdateMode(QGraphicsView::FullViewportUpdate);/
Has any one tried opengl with qtwebkit?
BTW, what the webkit version with qtwebkit?