Details
Description
Steps to reproduce:
- Open Qt Creator and open any 3d example https://doc.qt.io/qt-6/qt3d-examples.html
- Build and try to run the example on Android.
Expected: The application is launched, 3d objects are visible.
Actual: The application is launched, but the 3d objects could not be rendered thus they're not visible on the screen.
Reproducibility: 100%
Error log:
W Qt3D.Renderer.RHI.Backend: : Initializing RHI with OpenGL backend D InputMethodManager: HSIFW - flag : 0 Pid : 19704 I InputMethodManager: hideSoftInputFromWindow ignore mServedView == null or mServedView.getWindowToken() != windowToken, mServedView :DecorView@bb0ad6b[QtActivity] W libpbr-materials_arm64-v8a.so: Attempted to set unsupported sample count 4 D SurfaceView: onWindowVisibilityChanged(0) true e7bc75b of ViewRootImpl@4b04aba[QtActivity] D ViewRootImpl@4b04aba[QtActivity]: Relayout returned: old=[0,0][1080,2076] new=[0,0][1080,2076] result=0x1 surface={valid=true 514101608448} changed=false D SurfaceView: hide() Surface(name=SurfaceView - org.qtproject.example.pbr_materials/org.qtproject.qt.android.bindings.QtActivity@e7bc75b@0[19704])/@0xcd3cbf8 false true org.qtproject.qt.android.QtSurface{e7bc75b V.E...... ......ID 0,0-1080,2004 #1} D SurfaceView: surfaceCreated 1 #8 org.qtproject.qt.android.QtSurface{e7bc75b V.E...... ......ID 0,0-1080,2004 #1} D SurfaceView: surfaceChanged (1080,2004) 1 #8 org.qtproject.qt.android.QtSurface{e7bc75b V.E...... ......ID 0,0-1080,2004 #1} D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried: QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true) W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed
Attachments
Issue Links
- is cloned by
-
QTBUG-114037 [Android] Could not launch any app with Qt 3D module on Android 12
- Closed
- relates to
-
QTQAINFRA-5592 Qt Test Attack - Q2, 2023
- Open