[Android-development] QQuickWidget crash when running on Android
maitai at virtual-winds.org
maitai at virtual-winds.org
Wed Jun 4 07:18:07 CEST 2014
Hello,
I am trying to see what I could do with the new 5.3.0 class
QQuickWidget, so I wrote a very simple example, which runs fine under
windows.
When I run it on Android, I am getting a crash. From the console it
seems that something goes wrong with openGL:
W/ContextImpl(18278): Failed to ensure directory:
/storage/extSdCard/Android/data/org.qtproject.example.qtVlm/files/Documents
W/ContextImpl(18278): Failed to ensure directory:
/storage/extSdCard/Android/data/org.qtproject.example.qtVlm/files/Music
W/ContextImpl(18278): Failed to ensure directory:
/storage/extSdCard/Android/data/org.qtproject.example.qtVlm/files/Podcasts
W/ContextImpl(18278): Failed to ensure directory:
/storage/extSdCard/Android/data/org.qtproject.example.qtVlm/files/Notifications
W/ContextImpl(18278): Failed to ensure directory:
/storage/extSdCard/Android/data/org.qtproject.example.qtVlm/files/Alarms
W/ContextImpl(18278): Failed to ensure directory:
/storage/extSdCard/Android/data/org.qtproject.example.qtVlm/files/Movies
W/ContextImpl(18278): Failed to ensure directory:
/storage/extSdCard/Android/data/org.qtproject.example.qtVlm/files/Pictures
D/Qt (18278): opengl/qopenglframebufferobject.cpp:354 (bool
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus(QOpenGLContext*)
const): QOpenGLFramebufferObject: Framebuffer incomplete attachment.
D/Qt (18278): opengl/qopenglframebufferobject.cpp:354 (bool
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus(QOpenGLContext*)
const): QOpenGLFramebufferObject: Framebuffer incomplete attachment.
W/Qt (18278): kernel/qopenglcontext.cpp:806 (bool
QOpenGLContext::makeCurrent(QSurface*)): QOpenGLContext::makeCurrent()
called with non-opengl surface 0x86984628
W/Qt (18278): opengl/qopenglfunctions.cpp:237
(QOpenGLFunctions::QOpenGLFunctions(QOpenGLContext*)): QOpenGLFunctions
created with non-current context
E/libEGL (18278): call to OpenGL ES API with no current context (logged
once per thread)
F/libc (18278): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1),
thread 18304 (t.example.qtVlm)
"org.qtproject.example.qtVlm" died.
Any idea what I could do to fix that?
Thanks
Philippe LELONG
More information about the Android-development
mailing list