[Interest] Qt 5.2.0 on Android and hellogl_es2 example

Thomas Meyer public at meyer-thomas.com
Tue Dec 17 19:35:28 CET 2013


Hi,
same on Asus MeMO Pad HD 7.

Application Output:
Starting remote process.D/dalvikvm( 6229): Trying to load lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libgnustl_shared.so 
0x414ceae8

D/dalvikvm( 6229): Added shared lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libgnustl_shared.so 
0x414ceae8

D/dalvikvm( 6229): No JNI_OnLoad found in 
/data/data/org.qtproject.example.hellogl_es2/lib/libgnustl_shared.so 
0x414ceae8, skipping init

D/dalvikvm( 6229): Trying to load lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Core.so 0x414ceae8

D/dalvikvm( 6229): Added shared lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Core.so 0x414ceae8

D/dalvikvm( 6229): Trying to load lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Gui.so 0x414ceae8

D/dalvikvm( 6229): Added shared lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Gui.so 0x414ceae8

D/dalvikvm( 6229): No JNI_OnLoad found in 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Gui.so 
0x414ceae8, skipping init

D/dalvikvm( 6229): Trying to load lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Widgets.so 0x414ceae8

D/dalvikvm( 6229): Added shared lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Widgets.so 0x414ceae8

D/dalvikvm( 6229): No JNI_OnLoad found in 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5Widgets.so 
0x414ceae8, skipping init

D/dalvikvm( 6229): Trying to load lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5OpenGL.so 0x414ceae8

D/dalvikvm( 6229): Added shared lib 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5OpenGL.so 0x414ceae8

D/dalvikvm( 6229): No JNI_OnLoad found in 
/data/data/org.qtproject.example.hellogl_es2/lib/libQt5OpenGL.so 
0x414ceae8, skipping init

D/dalvikvm( 6229): Trying to load lib 
/data/data/org.qtproject.example.hellogl_es2/plugins/platforms/android/libqtforandroidGL.so 
0x414ceae8

D/dalvikvm( 6229): Added shared lib 
/data/data/org.qtproject.example.hellogl_es2/plugins/platforms/android/libqtforandroidGL.so 
0x414ceae8

I/Qt ( 6229): qt start

W/dalvikvm( 6229): dvmFindClassByName rejecting 
'org/qtproject/qt5/android/QtMessageDialogHelper'

D/dalvikvm( 6229): Trying to load lib 
/data/app-lib/org.qtproject.example.hellogl_es2-1/libhellogl_es2.so 
0x414ceae8

D/dalvikvm( 6229): Added shared lib 
/data/app-lib/org.qtproject.example.hellogl_es2-1/libhellogl_es2.so 
0x414ceae8

D/dalvikvm( 6229): No JNI_OnLoad found in 
/data/app-lib/org.qtproject.example.hellogl_es2-1/libhellogl_es2.so 
0x414ceae8, skipping init

D/dalvikvm( 6229): threadid=11: interp stack at 0x55766000

W/dalvikvm( 6229): dvmFindClassByName rejecting 
'org/qtproject/qt5/android/QtNativeInputConnection'

W/dalvikvm( 6229): dvmFindClassByName rejecting 
'org/qtproject/qt5/android/QtExtractedText'

D/dalvikvm( 6229): threadid=11: bye!

D/dalvikvm( 6229): threadid=11: interp stack at 0x55766000

D/dalvikvm( 6229): threadid=11: bye!

D/dalvikvm( 6229): threadid=11: interp stack at 0x55766000

W/Qt ( 6229): ..\src\androidjnimain.cpp:687 (void updateWindow(JNIEnv*, 
jobject)): updateWindow: Dirty screen not implemented yet on OpenGL

D/dalvikvm( 6229): threadid=11: bye!

D/dalvikvm( 6229): threadid=11: bye!

D/libEGL ( 6229): loaded /vendor/lib/egl/libEGL_mtk.so

I/SurfaceView( 6229): Changes: creating=true format=true size=true 
visible=true left=true top=true mUpdateWindowNeeded=false 
mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=true 
mVisible=false mRequestedVisible=true

I/SurfaceView( 6229): Cur surface: Surface(name=null, identity=-1)

I/SurfaceView( 6229): Changes: creating=true format=true size=true 
visible=true left=true top=true mUpdateWindowNeeded=false 
mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=true 
mVisible=false mRequestedVisible=true

I/SurfaceView( 6229): Cur surface: Surface(name=null, identity=-1)

D/libEGL ( 6229): loaded /vendor/lib/egl/libGLESv1_CM_mtk.so

V/SurfaceView( 6229): org.qtproject.qt5.android.QtSurface{4151dff8 
V.E..... ......ID 0,0-800,1183 #0} got resized: w=800 h=1183, cur w=-1 h=-1

I/SurfaceView( 6229): New surface: Surface(name=null, identity=2035), 
vis=true, frame=Rect(0, 33 - 800, 1216)

I/SurfaceView( 6229): visibleChanged -- surfaceCreated

I/SurfaceView( 6229): Changes: creating=false format=true size=false 
visible=false left=false top=false mUpdateWindowNeeded=true 
mReportDrawNeeded=true redrawNeeded=false forceSizeChanged=false 
mVisible=true mRequestedVisible=true

I/SurfaceView( 6229): Cur surface: Surface(name=null, identity=2035)

D/libEGL ( 6229): loaded /vendor/lib/egl/libGLESv2_mtk.so

I/SurfaceView( 6229): New surface: Surface(name=null, identity=2036), 
vis=true, frame=Rect(0, 33 - 800, 1216)

I/SurfaceView( 6229): visibleChanged -- surfaceDestroyed

I/SurfaceView( 6229): visibleChanged -- surfaceCreated

I/SurfaceView( 6229): Changes: creating=false format=false size=false 
visible=false left=false top=false mUpdateWindowNeeded=false 
mReportDrawNeeded=true redrawNeeded=false forceSizeChanged=false 
mVisible=true mRequestedVisible=true

I/SurfaceView( 6229): Cur surface: Surface(name=null,

I/SurfaceView( 6229): New surface: Surface(name=null, identity=2036), 
vis=true, frame=Rect(0, 33 - 800, 1216)

I/SurfaceView( 6229): visibleChanged -- surfaceDestroyed

I/SurfaceView( 6229): visibleChanged -- surfaceCreated

I/SurfaceView( 6229): Changes: creating=false format=false size=false 
visible=false left=false top=false mUpdateWindowNeeded=false 
mReportDrawNeeded=true redrawNeeded=false forceSizeChanged=false 
mVisible=true mRequestedVisible=true

I/SurfaceView( 6229): Cur surface: Surface(name=null, identity=2036)

I/SurfaceView( 6229): New surface: Surface(name=null, identity=2036), 
vis=true, frame=Rect(0, 33 - 800, 1216)

I/SurfaceView( 6229): surfaceRedrawNeeded

I/SurfaceView( 6229): finishedDrawing

V/SurfaceView( 6229): Layout: x=0 y=33 w=800 h=1183, frame=Rect(0, 0 - 
800, 1183)

I/SurfaceView( 6229): surfaceChanged -- format=1 w=800 h=1183

I/SurfaceView( 6229): surfaceRedrawNeeded

I/SurfaceView( 6229): finishedDrawing

V/SurfaceView( 6229): Layout: x=0 y=33 w=800 h=1183, frame=Rect(0, 0 - 
800, 1183)

I/SurfaceView( 6229): surfaceChanged -- format=1 w=800 h=1183

I/SurfaceView( 6229): surfaceRedrawNeeded

I/SurfaceView( 6229): finishedDrawing

V/SurfaceView( 6229): Layout: x=0 y=33 w=800 h=1183, frame=Rect(0, 0 - 
800, 1183)

D/dalvikvm( 6229): threadid=11: interp stack at 0x56756000

D/dalvikvm( 6229): threadid=11: bye!

V/InputMethodManager( 6229): onWindowFocus: null softInputMode=288 
first=true flags=#810100

V/InputMethodManager( 6229): START INPUT: 
com.android.internal.policy.impl.PhoneWindow$DecorView{414da3a0 V.E..... 
R.....I. 0,0-800,1216} ic=null 
tba=android.view.inputmethod.EditorInfo at 41536b88 controlFlags=#104

W/Qt ( 6229): kernel\qplatformwindow.cpp:300 (virtual void 
QPlatformWindow::propagateSizeHints()): This plugin does not support 
propagateSizeHints()

V/InputMethodManager( 6229): Starting input: Bind 
result=InputBindResult{null 
com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME 
#1044}

D/skia ( 6229): Flag is not 10

D/skia ( 6229): Flag is not 10

I/SurfaceView( 6229): Changes: creating=false format=false size=true 
visible=false left=false top=true mUpdateWindowNeeded=false 
mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=true 
mVisible=true mRequestedVisible=true

I/SurfaceView( 6229): Cur surface: Surface(name=null, identity=2036)

V/SurfaceView( 6229): org.qtproject.qt5.android.QtSurface{4151dff8 
V.E..... ......ID 0,0-800,1108 #0} got resized: w=800 h=1108, cur w=-1 h=-1

I/SurfaceView( 6229): New surface: Surface(name=null, identity=2036), 
vis=true, frame=Rect(0, 108 - 800, 1216)

I/SurfaceView( 6229): surfaceChanged -- format=1 w=800 h=1108

V/SurfaceView( 6229): Layout: x=0 y=108 w=800 h=1108, frame=Rect(0, 0 - 
800, 1108)

W/Qt ( 6229): kernel\qplatformwindow.cpp:261 (virtual void 
QPlatformWindow::setParent(const QPlatformWindow*)): This plugin does 
not support setParent!

D/dalvikvm( 6229): threadid=11: interp stack at 0x56940000

D/dalvikvm( 6229): threadid=11: bye!

W/Qt ( 6229): kernel\qplatformwindow.cpp:261 (virtual void 
QPlatformWindow::setParent(const QPlatformWindow*)): This plugin does 
not support setParent!

D/dalvikvm( 6229): threadid=11: interp stack at 0x56940000

D/dalvikvm( 6229): threadid=11: bye!

W/Qt ( 6229): kernel\qplatformwindow.cpp:300 (virtual void 
QPlatformWindow::propagateSizeHints()): This plugin does not support 
propagateSizeHints()



'org.qtproject.example.hellogl_es2' died.



Thomas


Am 17.12.2013 20:16, schrieb Igor Mironchik:
> Hi.
>
> I've tried hellogl_es2 example on Android device and he died immediately
> after launching.
>
> Is it a bug? Who knows?
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131217/1e3fdb7d/attachment.html>


More information about the Interest mailing list