Friday, 27 September 2013

Deploying an Qt app on virtual Android device

Deploying an Qt app on virtual Android device

I am trying for several days to simply deploy a qt 5 application to an
Android machine. I have done the following:
1. Install AVD Manager and use a template device(NexusS, 343RAM, 480x800)
2. Start the device with start->run->cmd-> "emulator-arm @NexusS",
emulator start without a problem.
3. Qt 5.1 creator->New Project->Qt quick2(built-in types)
->3.1.Select build kit: Android for arm(gcc 4.7, Qt 5.1.1)
4.In project settings says that mingw32-make is not found and I set it to
the path that I found in
qt(Qt5.1.1_Android_x86\Tools\mingw48_32\bin\mingw32-make.exe)
5.Build the app, it builds ok
6.Run the app.(the NexusS device remained open)
In the application Output I get:
E/libEGL ( 848): called unimplemented OpenGL ES API
E/libEGL ( 848): called unimplemented OpenGL ES API
W/Qt ( 848): opengl\qopenglshaderprogram.cpp:319 (bool
QOpenGLShaderPrivate::compile(QOpenGLShader*)):
QOpenGLShader::compile(Vertex): failed"
W/Qt ( 848): opengl\qopenglshaderprogram.cpp:319 (bool
QOpenGLShaderPrivate::compile(QOpenGLShader*)):
QOpenGLShader::compile(Fragment): failed
E/libEGL ( 848): called unimplemented OpenGL ES API
......
And the NexusS emulator enters the application, for ~1 sec displays the
name of the application and after that it displays a grey screen and
remaines in the grey screen until i exit the app.
Does anybody has any idea on what is the problem? Thank you very much!

No comments:

Post a Comment