Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android: From Qt 5.3 to Qt 5.4 issues
Forum Updated to NodeBB v4.3 + New Features

Android: From Qt 5.3 to Qt 5.4 issues

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 871 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    T.Iotti
    wrote on last edited by
    #1

    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:
    @
    if(!index)
    {
    index = new BookIndex();
    }
    index->showFullScreen();
    @

    And the OpenGLES call:

    @
    if(!ogl)
    {
    ogl= new RenderWidget();
    }
    if(index)
    {
    index->close();
    index->deleteLater();
    index = NULL;
    }
    ogl->showFullScreen();
    @

    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.

    Any ideias?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved