QOpenGLWidget not working on iOS 18 (e.g. hellogl2 example)
-
I'm currently porting an application from 5.15 to 6.9.1 and I am having problems running the app on iOS 18.5 . The app previously used QGLWidget which I've replaced with QOpenGLWidget. The app however just shows a black screen. I then tried the OpenGL Examples in 6.9.1 and the example hellogl2, which also uses QOpenGLWidget, has the same problem. Is this a known issue and does anyone have an example of code working on iOS 18 using QOpenGLWidget? Note, the example hellogles3 does work but uses QOpenGLWindow and not widgets.
The errors I see both in our app and the hellogl2 example on startup are as follows:
OpenGL ES calls are not allowed while an application is backgrounded
QRhiGles2: Failed to make context current. Expect bad things to happen.
Failed to create QRhi for QBackingStoreRhiSupportI am using the 6.9.1 toolchain file 6.9.1/ios/lib/cmake/Qt6/qt.toolchain.cmake
Many thanks.
-
Hi and welcome to devnet,
I think you should directly check the bug report system.
-
Hi and welcome to devnet,
I think you should directly check the bug report system.
-
Sure thing ! No problem with asking first here :-)
Thanks for the link !