Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Android: From Qt 5.3 to Qt 5.4 issues
T.Iotti last edited by
First I'd like to refer this: http://qt-project.org/forums/viewthread/43678/
Now I have similar issue when migrating from Qt 5.3 to 5.4.
First I create a widget showing a fullscreen from, the following is an OpenGL Widget, but when it's called I got a Bad Surface error and it won't refresh the screen (keep showing the form just like the issue I've got in the mentioned topic).
I'm using the following code for the form:
index = new BookIndex();
And the OpenGLES call:
ogl= new RenderWidget();
index = NULL;
When this is called I recieve the following message:
W/SurfaceView(24628): CHECK surface infomation creating=false formatChanged=false sizeChanged=false visible=false visibleChanged=true surfaceChanged=true realSizeChanged=false redrawNeeded=true left=false top=false
W/SurfaceView(24628): CHECK surface infomation creating=false formatChanged=false sizeChanged=false visible=false visibleChanged=true surfaceChanged=true realSizeChanged=false redrawNeeded=false left=false top=false
W/Adreno200-EGL(24628): <qeglDrvAPI_eglSwapBuffers:3406>: EGL_BAD_SURFACE
W/Qt (24628): (null):0 ((null)): QEGLPlatformContext::swapBuffers(): eglError: 12301, this: 0x50dc7e68
Testing a little further I discover that the application keeps running but it's just the form last frame who wasn't refreshed...for instance...if I press the home button and then open the same instance of the app, it keeps going with OpenGL screen without any issue. So, I don't know if something have changed or there is something wrong with the close main form part.