White/Blank screen on Android Simulator



  • Dear All,

    if i run the test HelloWorld application with QT Creator on Android Simulator the system shows a white blank screen.
    How is possible to fix this?

    I'm using a Mac.


  • Moderators

    @tonyhhkx
    check the console output. Are there any warnings/errors?



  • @raven-worx

    :(

    I/ActivityManager(  358): Killing 3729:org.qtproject.example.testEmulator/u0a56 (adj 0): stop org.qtproject.example.testEmulator
    W/ActivityManager(  358): Spurious death for ProcessRecord{34d31d1e 3729:org.qtproject.example.testEmulator/u0a56}, curProc for 3729: null
    W/InputMethodManagerService(  358): Got RemoteException sending setActive(false) notification to pid 3729 uid 10056
    
    
    "org.qtproject.example.testEmulator" died.
    Starting remote process.I/ActivityManager(  358): Start proc 3885:org.qtproject.example.testEmulator/u0a56 for activity org.qtproject.example.testEmulator/org.qtproject.qt5.android.bindings.QtActivity
    I/art     ( 3885): Not late-enabling -Xcheck:jni (already on)
    W/linker  ( 3885): libQt5Network.so: unused DT entry: type 0x1d arg 0x11d02
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3885): libQt5Qml.so: unused DT entry: type 0x1d arg 0x32b73
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3885): libQt5Gui.so: unused DT entry: type 0x1d arg 0x507ec
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3885): libQt5Quick.so: unused DT entry: type 0x1d arg 0x3d9a1
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3885): libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x4b71
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3885): libqtforandroid.so: unused DT entry: type 0x1d arg 0x920e
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    I/Qt      ( 3885): qt start
    W/linker  ( 3885): libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1738
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    I/art     ( 3885): Background sticky concurrent mark sweep GC freed 5772(900KB) AllocSpace objects, 10(193KB) LOS objects, 23% free, 3MB/4MB, paused 20.779ms total 41.224ms
    W/linker  ( 3885): libtestEmulator.so: unused DT entry: type 0xf arg 0x1365
    W/linker  ( 3885): libtestEmulator.so: unused DT entry: type 0x6ffffffe arg 0x219c
    W/linker  ( 3885): libtestEmulator.so: unused DT entry: type 0x6fffffff arg 0x1
    D/OpenGLRenderer( 3885): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
    D/        ( 3885): HostConnection::get() New Host Connection established 0xb4b85150, tid 3885
    D/Atlas   ( 3885): Validating map...
    D/        ( 3885): HostConnection::get() New Host Connection established 0xb4b85220, tid 3904
    I/OpenGLRenderer( 3885): Initialized EGL, version 1.4
    D/OpenGLRenderer( 3885): Enabling debug mode 0
    W/EGL_emulation( 3885): eglSurfaceAttrib not implemented
    W/OpenGLRenderer( 3885): Failed to set EGL_SWAP_BEHAVIOR on surface 0xb4b2d9a0, error=EGL_SUCCESS
    W/linker  ( 3885): libqtquick2plugin.so: unused DT entry: type 0x1d arg 0x4bd
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3885): libwindowplugin.so: unused DT entry: type 0x1d arg 0x493
    W/linker  ( 3885): Unsupported flags DT_FLAGS_1=0x81
    D/        ( 3885): HostConnection::get() New Host Connection established 0xb4bf4550, tid 3905
    W/EGL_emulation( 3885): eglSurfaceAttrib not implemented
    W/OpenGLRenderer( 3885): Failed to set EGL_SWAP_BEHAVIOR on surface 0xb4b2d9a0, error=EGL_SUCCESS
    D/        ( 3885): HostConnection::get() New Host Connection established 0xa44ba140, tid 3908
    I/art     ( 3885): Background sticky concurrent mark sweep GC freed 2255(108KB) AllocSpace objects, 0(0B) LOS objects, 4% free, 4MB/4MB, paused 706us total 121.586ms
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): attribute highp vec4 vertexCoord;
    W/libtestEmulator.so( 3885): attribute highp vec4 vertexColor;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3885): uniform highp float opacity;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): varying lowp vec4 color;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp float _qt_order;
    W/libtestEmulator.so( 3885): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_Position = matrix * vertexCoord;
    W/libtestEmulator.so( 3885):     color = vertexColor * opacity;
    W/libtestEmulator.so( 3885):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): varying lowp vec4 color;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_FragColor = color;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 0cq
    W/libtestEmulator.so( 3885): (null):0 ((null)): shader compilation failed:
    W/libtestEmulator.so( 3885): "0cq\b"
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3885): uniform highp vec2 textureScale;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp vec4 vCoord;
    W/libtestEmulator.so( 3885): attribute highp vec2 tCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp float _qt_order;
    W/libtestEmulator.so( 3885): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):      sampleCoord = tCoord * textureScale;
    W/libtestEmulator.so( 3885):      gl_Position = matrix * vCoord;
    W/libtestEmulator.so( 3885):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): uniform mediump sampler2D _qt_texture;
    W/libtestEmulator.so( 3885): uniform lowp vec4 color;
    W/libtestEmulator.so( 3885): uniform mediump float alphaMin;
    W/libtestEmulator.so( 3885): uniform mediump float alphaMax;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_FragColor = color * smoothstep(alphaMin,
    W/libtestEmulator.so( 3885):                                       alphaMax,
    W/libtestEmulator.so( 3885):                                       texture2D(_qt_texture, sampleCoord).a);
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 0cq
    W/libtestEmulator.so( 3885): (null):0 ((null)): shader compilation failed:
    W/libtestEmulator.so( 3885): "0cq\b"
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): attribute highp vec4 vertexCoord;
    W/libtestEmulator.so( 3885): attribute highp vec4 vertexColor;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3885): uniform highp float opacity;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): varying lowp vec4 color;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp float _qt_order;
    W/libtestEmulator.so( 3885): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_Position = matrix * vertexCoord;
    W/libtestEmulator.so( 3885):     color = vertexColor * opacity;
    W/libtestEmulator.so( 3885):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): varying lowp vec4 color;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_FragColor = color;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 0cq
    W/libtestEmulator.so( 3885): (null):0 ((null)): shader compilation failed:
    W/libtestEmulator.so( 3885): "0cq\b"
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3885): uniform highp vec2 textureScale;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp vec4 vCoord;
    W/libtestEmulator.so( 3885): attribute highp vec2 tCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp float _qt_order;
    W/libtestEmulator.so( 3885): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):      sampleCoord = tCoord * textureScale;
    W/libtestEmulator.so( 3885):      gl_Position = matrix * vCoord;
    W/libtestEmulator.so( 3885):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): uniform mediump sampler2D _qt_texture;
    W/libtestEmulator.so( 3885): uniform lowp vec4 color;
    W/libtestEmulator.so( 3885): uniform mediump float alphaMin;
    W/libtestEmulator.so( 3885): uniform mediump float alphaMax;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_FragColor = color * smoothstep(alphaMin,
    W/libtestEmulator.so( 3885):                                       alphaMax,
    W/libtestEmulator.so( 3885):                                       texture2D(_qt_texture, sampleCoord).a);
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 0cq
    W/libtestEmulator.so( 3885): (null):0 ((null)): shader compilation failed:
    W/libtestEmulator.so( 3885): "0cq\b"
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): attribute highp vec4 vertexCoord;
    W/libtestEmulator.so( 3885): attribute highp vec4 vertexColor;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3885): uniform highp float opacity;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): varying lowp vec4 color;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp float _qt_order;
    W/libtestEmulator.so( 3885): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_Position = matrix * vertexCoord;
    W/libtestEmulator.so( 3885):     color = vertexColor * opacity;
    W/libtestEmulator.so( 3885):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): varying lowp vec4 color;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_FragColor = color;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 0cq
    W/libtestEmulator.so( 3885): (null):0 ((null)): shader compilation failed:
    W/libtestEmulator.so( 3885): "0cq\b"
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3885): uniform highp vec2 textureScale;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp vec4 vCoord;
    W/libtestEmulator.so( 3885): attribute highp vec2 tCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): attribute highp float _qt_order;
    W/libtestEmulator.so( 3885): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):      sampleCoord = tCoord * textureScale;
    W/libtestEmulator.so( 3885):      gl_Position = matrix * vCoord;
    W/libtestEmulator.so( 3885):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3885): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3885): #define mediump
    W/libtestEmulator.so( 3885): #define highp
    W/libtestEmulator.so( 3885): #line 1
    W/libtestEmulator.so( 3885): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): uniform mediump sampler2D _qt_texture;
    W/libtestEmulator.so( 3885): uniform lowp vec4 color;
    W/libtestEmulator.so( 3885): uniform mediump float alphaMin;
    W/libtestEmulator.so( 3885): uniform mediump float alphaMax;
    W/libtestEmulator.so( 3885):
    W/libtestEmulator.so( 3885): void main()
    W/libtestEmulator.so( 3885): {
    W/libtestEmulator.so( 3885):     gl_FragColor = color * smoothstep(alphaMin,
    W/libtestEmulator.so( 3885):                                       alphaMax,
    W/libtestEmulator.so( 3885):                                       texture2D(_qt_texture, sampleCoord).a);
    W/libtestEmulator.so( 3885): }
    W/libtestEmulator.so( 3885): (null):0 ((null)): ***
    W/libtestEmulator.so( 3885): (null):0 ((null)): shader compilation failed:
    W/libtestEmulator.so( 3885): ""
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    W/libtestEmulator.so( 3885): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    

  • Moderators

    @tonyhhkx
    is that the whole output?

    If so you need to post your logcat pls. But clear it before you start the app to keep it at small as possible.

    adb logcat -c
    >>> START YOUR APP AND LET IT CRASH
    adb logcat -d > logcat.txt
    >>> POST CONTENTS OF logcat.txt HERE
    


  • @raven-worx said in White/Blank screen on Android Simulator:

    @tonyhhkx
    is that the whole output?

    If so you need to post your logcat pls. But clear it before you start the app to keep it at small as possible.

    adb logcat -c
    >>> START YOUR APP AND LET IT CRASH
    adb logcat -d > logcat.txt
    >>> POST CONTENTS OF logcat.txt HERE
    

    really thanks for the info. Iìm sorry but is my first time with QT. COuld you please explain in which console can i put the lines?


  • Moderators

    @tonyhhkx
    in your system's console. adb comes with the android sdk.



  • @raven-worx said in White/Blank screen on Android Simulator:

    @tonyhhkx
    in your system's console. adb comes with the android sdk.

    please note that i using QT Creator and lunch automatically the Android Emulator without use Android Studio:

    alt text



  • @tonyhhkx

    Please note also that if takes the .APK debug file and installs on my Android Device, seems work fine, but not exactly.
    If i switch to home and then switches to application , the application crashed!
    Could be a problem linked to this post?

    This is a simple application


  • Moderators

    @tonyhhkx said in White/Blank screen on Android Simulator:

    please note that i using QT Creator and lunch automatically the Android Emulator without use Android Studio

    as i said, adb is part of the Android SDK. Call it directly from there.



  • @raven-worx said in White/Blank screen on Android Simulator:

    @tonyhhkx said in White/Blank screen on Android Simulator:

    please note that i using QT Creator and lunch automatically the Android Emulator without use Android Studio

    as i said, adb is part of the Android SDK. Call it directly from there.

    sorry but this is my first experience i i don't understand how do this call. Which terminal i need to open? How can i open?


  • Moderators

    @tonyhhkx
    simply with your system's shell.

    /path-to-android-sdk/platform-tools/adb.exe ...
    


  • @raven-worx said in White/Blank screen on Android Simulator:

    @tonyhhkx
    simply with your system's shell.

    /path-to-android-sdk/platform-tools/adb.exe ...
    

    really thanks! Done!

    This is the result:

    --------- beginning of main
    D/AndroidRuntime( 3245): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
    D/AndroidRuntime( 3245): CheckJNI is ON
    E/memtrack( 3245): Couldn't load memtrack module (No such file or directory)
    E/android.os.Debug( 3245): failed to load memtrack module: -2
    D/AndroidRuntime( 3245): Calling main entry com.android.commands.pm.Pm
    --------- beginning of system
    D/DefContainer( 1539): Copying /data/local/tmp/QtApp-debug.apk to base.apk
    D/PackageManager(  319): Renaming /data/app/vmdl2121989316.tmp to /data/app/org.qtproject.example.testEmulator-1
    I/ActivityManager(  319): Force stopping org.qtproject.example.testEmulator appid=10056 user=-1: uninstall pkg
    I/PackageManager(  319): Package org.qtproject.example.testEmulator codePath changed from /data/app/org.qtproject.example.testEmulator-2 to /data/app/org.qtproject.example.testEmulator-1; Retaining data and using new
    I/PackageManager(  319): Running dexopt on: /data/app/org.qtproject.example.testEmulator-1/base.apk pkg=org.qtproject.example.testEmulator isa=arm vmSafeMode=false
    I/dex2oat ( 3256): /system/bin/dex2oat --zip-fd=6 --zip-location=/data/app/org.qtproject.example.testEmulator-1/base.apk --oat-fd=7 --oat-location=/data/dalvik-cache/arm/data@app@org.qtproject.example.testEmulator-1@base.apk@classes.dex --instruction-set=arm --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=10
    I/dex2oat ( 3256): Decided to run without swap.
    I/dex2oat ( 3256): dex2oat took 1.220s (threads: 1) arena alloc=1047KB java alloc=218KB native alloc=1974KB free=2MB
    I/ActivityManager(  319): Force stopping org.qtproject.example.testEmulator appid=10056 user=-1: update pkg
    W/PackageManager(  319): Code path for pkg : org.qtproject.example.testEmulator changing from /data/app/org.qtproject.example.testEmulator-2 to /data/app/org.qtproject.example.testEmulator-1
    W/PackageManager(  319): Resource path for pkg : org.qtproject.example.testEmulator changing from /data/app/org.qtproject.example.testEmulator-2 to /data/app/org.qtproject.example.testEmulator-1
    I/ActivityManager(  319): Force stopping org.qtproject.example.testEmulator appid=10056 user=0: pkg removed
    D/JobSchedulerService(  319): Receieved: android.intent.action.PACKAGE_REMOVED
    I/InputReader(  319): Reconfiguring input devices.  changes=0x00000010
    D/BackupManagerService(  319): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.qtproject.example.testEmulator flg=0x4000010 (has extras) }
    I/InputReader(  319): Reconfiguring input devices.  changes=0x00000010
    D/BackupManagerService(  319): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.qtproject.example.testEmulator flg=0x4000010 (has extras) }
    W/BackupManagerService(  319): Removing schedule queue dupe of org.qtproject.example.testEmulator
    W/ContextImpl( 2075): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1692 android.content.ContextWrapper.startService:516 android.content.ContextWrapper.startService:516 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:2612 
    I/InputReader(  319): Reconfiguring input devices.  changes=0x00000010
    W/Settings(  319): Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
    W/VoiceInteractionManagerService(  319): no available voice recognition services found for user 0
    I/art     (  319): Explicit concurrent mark sweep GC freed 29332(2MB) AllocSpace objects, 11(184KB) LOS objects, 33% free, 6MB/10MB, paused 1.319ms total 708.808ms
    I/art     ( 3245): System.exit called, status: 0
    I/AndroidRuntime( 3245): VM exiting with result code 0.
    D/AndroidRuntime( 3273): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
    D/AndroidRuntime( 3273): CheckJNI is ON
    E/memtrack( 3273): Couldn't load memtrack module (No such file or directory)
    E/android.os.Debug( 3273): failed to load memtrack module: -2
    D/AndroidRuntime( 3273): Calling main entry com.android.commands.am.Am
    I/ActivityManager(  319): Force stopping org.qtproject.example.testEmulator appid=10056 user=0: from pid 3273
    D/AndroidRuntime( 3273): Shutting down VM
    D/AndroidRuntime( 3290): >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
    D/AndroidRuntime( 3290): CheckJNI is ON
    E/memtrack( 3290): Couldn't load memtrack module (No such file or directory)
    E/android.os.Debug( 3290): failed to load memtrack module: -2
    D/AndroidRuntime( 3290): Calling main entry com.android.commands.am.Am
    I/ActivityManager(  319): START u0 {flg=0x10000000 cmp=org.qtproject.example.testEmulator/org.qtproject.qt5.android.bindings.QtActivity} from uid 0 on display 0
    V/WindowManager(  319): addAppToken: AppWindowToken{3ed5517b token=Token{144fb50a ActivityRecord{b544175 u0 org.qtproject.example.testEmulator/org.qtproject.qt5.android.bindings.QtActivity t26}}} to stack=1 task=26 at 0
    V/WindowManager(  319): Adding window Window{1fabccdc u0 Starting org.qtproject.example.testEmulator} at 2 of 7 (after Window{31d34261 u0 com.android.launcher/com.android.launcher2.Launcher})
    D/AndroidRuntime( 3290): Shutting down VM
    I/ActivityManager(  319): Start proc 3301:org.qtproject.example.testEmulator/u0a56 for activity org.qtproject.example.testEmulator/org.qtproject.qt5.android.bindings.QtActivity
    I/art     ( 3301): Not late-enabling -Xcheck:jni (already on)
    W/linker  ( 3301): libQt5Network.so: unused DT entry: type 0x1d arg 0x11d02
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3301): libQt5Qml.so: unused DT entry: type 0x1d arg 0x32b73
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3301): libQt5Gui.so: unused DT entry: type 0x1d arg 0x507ec
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3301): libQt5Quick.so: unused DT entry: type 0x1d arg 0x3d9a1
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3301): libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x4b71
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3301): libqtforandroid.so: unused DT entry: type 0x1d arg 0x920e
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    I/Qt      ( 3301): qt start
    W/linker  ( 3301): libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1738
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    I/art     ( 3301): Background sticky concurrent mark sweep GC freed 2057(290KB) AllocSpace objects, 5(91KB) LOS objects, 0% free, 1865KB/1865KB, paused 11.375ms total 20.683ms
    W/linker  ( 3301): libtestEmulator.so: unused DT entry: type 0xf arg 0x1365
    W/linker  ( 3301): libtestEmulator.so: unused DT entry: type 0x6ffffffe arg 0x219c
    W/linker  ( 3301): libtestEmulator.so: unused DT entry: type 0x6fffffff arg 0x1
    D/OpenGLRenderer( 3301): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
    D/        ( 3301): HostConnection::get() New Host Connection established 0xb4b4f110, tid 3301
    D/Atlas   ( 3301): Validating map...
    V/WindowManager(  319): Adding window Window{eecf89d u0 org.qtproject.example.testEmulator/org.qtproject.qt5.android.bindings.QtActivity} at 2 of 8 (before Window{1fabccdc u0 Starting org.qtproject.example.testEmulator})
    D/        ( 3301): HostConnection::get() New Host Connection established 0xb4b4f1f0, tid 3320
    I/OpenGLRenderer( 3301): Initialized EGL, version 1.4
    D/OpenGLRenderer( 3301): Enabling debug mode 0
    W/EGL_emulation( 3301): eglSurfaceAttrib not implemented
    W/OpenGLRenderer( 3301): Failed to set EGL_SWAP_BEHAVIOR on surface 0xb4b73920, error=EGL_SUCCESS
    I/ActivityManager(  319): Displayed org.qtproject.example.testEmulator/org.qtproject.qt5.android.bindings.QtActivity: +4s988ms
    W/linker  ( 3301): libqtquick2plugin.so: unused DT entry: type 0x1d arg 0x4bd
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    W/linker  ( 3301): libwindowplugin.so: unused DT entry: type 0x1d arg 0x493
    W/linker  ( 3301): Unsupported flags DT_FLAGS_1=0x81
    D/        ( 3301): HostConnection::get() New Host Connection established 0xb4bf35e0, tid 3321
    W/EGL_emulation( 3301): eglSurfaceAttrib not implemented
    W/OpenGLRenderer( 3301): Failed to set EGL_SWAP_BEHAVIOR on surface 0xb4b73920, error=EGL_SUCCESS
    V/WindowManager(  319): Adding window Window{1d06483f u0 SurfaceView} at 2 of 8 (before Window{eecf89d u0 org.qtproject.example.testEmulator/org.qtproject.qt5.android.bindings.QtActivity})
    D/        ( 3301): HostConnection::get() New Host Connection established 0xa44bf100, tid 3324
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): attribute highp vec4 vertexCoord;
    W/libtestEmulator.so( 3301): attribute highp vec4 vertexColor;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3301): uniform highp float opacity;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): varying lowp vec4 color;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp float _qt_order;
    W/libtestEmulator.so( 3301): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_Position = matrix * vertexCoord;
    W/libtestEmulator.so( 3301):     color = vertexColor * opacity;
    W/libtestEmulator.so( 3301):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): varying lowp vec4 color;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_FragColor = color;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::link: 0Óå	
    W/libtestEmulator.so( 3301): (null):0 ((null)): shader compilation failed: 
    W/libtestEmulator.so( 3301): "0Óå\t"
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3301): uniform highp vec2 textureScale;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp vec4 vCoord;
    W/libtestEmulator.so( 3301): attribute highp vec2 tCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp float _qt_order;
    W/libtestEmulator.so( 3301): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):      sampleCoord = tCoord * textureScale;
    W/libtestEmulator.so( 3301):      gl_Position = matrix * vCoord;
    W/libtestEmulator.so( 3301):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): uniform mediump sampler2D _qt_texture;
    W/libtestEmulator.so( 3301): uniform lowp vec4 color;
    W/libtestEmulator.so( 3301): uniform mediump float alphaMin;
    W/libtestEmulator.so( 3301): uniform mediump float alphaMax;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_FragColor = color * smoothstep(alphaMin,
    W/libtestEmulator.so( 3301):                                       alphaMax,
    W/libtestEmulator.so( 3301):                                       texture2D(_qt_texture, sampleCoord).a);
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::link: 0Óå	
    W/libtestEmulator.so( 3301): (null):0 ((null)): shader compilation failed: 
    W/libtestEmulator.so( 3301): "0Óå\t"
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): attribute highp vec4 vertexCoord;
    W/libtestEmulator.so( 3301): attribute highp vec4 vertexColor;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3301): uniform highp float opacity;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): varying lowp vec4 color;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp float _qt_order;
    W/libtestEmulator.so( 3301): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_Position = matrix * vertexCoord;
    W/libtestEmulator.so( 3301):     color = vertexColor * opacity;
    W/libtestEmulator.so( 3301):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): varying lowp vec4 color;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_FragColor = color;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::link: 0Óå	
    W/libtestEmulator.so( 3301): (null):0 ((null)): shader compilation failed: 
    W/libtestEmulator.so( 3301): "0Óå\t"
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::link: 
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3301): uniform highp vec2 textureScale;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp vec4 vCoord;
    W/libtestEmulator.so( 3301): attribute highp vec2 tCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp float _qt_order;
    W/libtestEmulator.so( 3301): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):      sampleCoord = tCoord * textureScale;
    W/libtestEmulator.so( 3301):      gl_Position = matrix * vCoord;
    W/libtestEmulator.so( 3301):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): uniform mediump sampler2D _qt_texture;
    W/libtestEmulator.so( 3301): uniform lowp vec4 color;
    W/libtestEmulator.so( 3301): uniform mediump float alphaMin;
    W/libtestEmulator.so( 3301): uniform mediump float alphaMax;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_FragColor = color * smoothstep(alphaMin,
    W/libtestEmulator.so( 3301):                                       alphaMax,
    W/libtestEmulator.so( 3301):                                       texture2D(_qt_texture, sampleCoord).a);
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): shader compilation failed: 
    W/libtestEmulator.so( 3301): ""
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): attribute highp vec4 vertexCoord;
    W/libtestEmulator.so( 3301): attribute highp vec4 vertexColor;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3301): uniform highp float opacity;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): varying lowp vec4 color;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp float _qt_order;
    W/libtestEmulator.so( 3301): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_Position = matrix * vertexCoord;
    W/libtestEmulator.so( 3301):     color = vertexColor * opacity;
    W/libtestEmulator.so( 3301):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): varying lowp vec4 color;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_FragColor = color;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): shader compilation failed: 
    W/libtestEmulator.so( 3301): ""
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Vertex shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): uniform highp mat4 matrix;
    W/libtestEmulator.so( 3301): uniform highp vec2 textureScale;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp vec4 vCoord;
    W/libtestEmulator.so( 3301): attribute highp vec2 tCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): attribute highp float _qt_order;
    W/libtestEmulator.so( 3301): uniform highp float _qt_zRange;
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):      sampleCoord = tCoord * textureScale;
    W/libtestEmulator.so( 3301):      gl_Position = matrix * vCoord;
    W/libtestEmulator.so( 3301):     gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Fragment): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Fragment shader source code ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): #define lowp
    W/libtestEmulator.so( 3301): #define mediump
    W/libtestEmulator.so( 3301): #define highp
    W/libtestEmulator.so( 3301): #line 1
    W/libtestEmulator.so( 3301): varying highp vec2 sampleCoord;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): uniform mediump sampler2D _qt_texture;
    W/libtestEmulator.so( 3301): uniform lowp vec4 color;
    W/libtestEmulator.so( 3301): uniform mediump float alphaMin;
    W/libtestEmulator.so( 3301): uniform mediump float alphaMax;
    W/libtestEmulator.so( 3301): 
    W/libtestEmulator.so( 3301): void main()
    W/libtestEmulator.so( 3301): {
    W/libtestEmulator.so( 3301):     gl_FragColor = color * smoothstep(alphaMin,
    W/libtestEmulator.so( 3301):                                       alphaMax,
    W/libtestEmulator.so( 3301):                                       texture2D(_qt_texture, sampleCoord).a);
    W/libtestEmulator.so( 3301): }
    W/libtestEmulator.so( 3301): (null):0 ((null)): ***
    W/libtestEmulator.so( 3301): (null):0 ((null)): shader compilation failed: 
    W/libtestEmulator.so( 3301): ""
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    
    

  • Moderators

    @tonyhhkx said in White/Blank screen on Android Simulator:

    W/libtestEmulator.so( 3301): (null):0 ((null)): QOpenGLShader::compile(Vertex): ERROR: Valid GLSL but not GLSL ES
    W/libtestEmulator.so( 3301): (null):0 ((null)): *** Problematic Vertex shader source code ***

    these are the lines i would be suspicious about.

    Seems this is only a Emulator related issue.



  • @raven-worx

    so is not possible to fix? Is very strange.

    I tried to tun the emulator beforw with hte following command lines but nothing change:

    emulator -avd Galaxy_Nexus_API_22 -gpu host
    emulator -avd Galaxy_Nexus_API_22 -gpu on
    emulator -avd Galaxy_Nexus_API_22 -gpu off


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.