Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
OpenGL examples does not run on Android emulator
jiangcaiyang last edited by
I downloaded Qt5.2 the first time after it released, and I try OpenGL ES2 example targeting Android Nexus4 devices but unfortunately it doesn't run. The console output shows:
D/ ( 858): HostConnection::get() New Host Connection established 0x2a1aad48, tid 858
D/libEGL ( 858): loaded /system/lib/egl/libEGL_emulation.so
D/ ( 858): HostConnection::get() New Host Connection established 0x2a153998, tid 880
D/libEGL ( 858): loaded /system/lib/egl/libGLESv1_CM_emulation.so
D/libEGL ( 858): loaded /system/lib/egl/libGLESv2_emulation.so
I/Choreographer( 858): Skipped 144 frames! The application may be doing too much work on its main thread.
I/Choreographer( 858): Skipped 51 frames! The application may be doing too much work on its main thread.
I/Choreographer( 858): Skipped 32 frames! The application may be doing too much work on its main thread.
W/Qt ( 858): kernel\qplatformwindow.cpp:261 (virtual void QPlatformWindow::setParent(const QPlatformWindow*)): This plugin does not support setParent!
W/Qt ( 858): kernel\qplatformwindow.cpp:300 (virtual void QPlatformWindow::propagateSizeHints()): This plugin does not support propagateSizeHints()
'org.qtproject.example.sub_attaq' 已死。 @
How does anyone solve this problem? Can Qt OpenGL ES2 apps run on Android REAL devices supported for OpenGL ES2?
stereomatching last edited by
As far as I know, the android emulator come with the packages do not support openGL yet. However, the emulator is extremely slow, much slower than real machine,try it with real machine if you have.
"QtQuick 2 and Android emulator":http://qt-project.org/forums/viewthread/29499
ps : if you know how to get the raw buffer of videoOutput or design your own videoOutput, please lend me a hand, I can't find any useful information about this