[Android-development] QQuickWidget crash when running on Android

BogDan bog_dan_ro at yahoo.com
Wed Jun 4 10:04:09 CEST 2014


Please use https://bugreports.qt-project.org to report the problem. Please also attach an example that we can use to reproduce it.

Thanks.
BogDan.


----- Original Message -----
From: "maitai at virtual-winds.org" <maitai at virtual-winds.org>
To: Android Development <Android-development at qt-project.org>
Cc: 
Sent: Wednesday, June 4, 2014 8:18 AM
Subject: [Android-development] QQuickWidget crash when running on Android

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

_______________________________________________
Android-development mailing list
Android-development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/android-development




More information about the Android-development mailing list