Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Properly close a window on Android (QtWidget)

    Mobile and Embedded
    2
    4
    1044
    Loading More Posts
    • 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.
    • M
      mant last edited by

      Hello Everyone. Could someone please tell me how to fix a problem?

      My Android app has two windows. I can not close one window properly using close();. It disappears only a part of it, the rest still covers my Main Window.

      I create it with dialog->show(); and close it by dialog->close();

      Is it a bug of Qt 5.1.1 (android)?

      This is my sample from an Android Virtual Device.
      !http://s13.postimg.org/d83priujr/Untitled.png(image)!

      1 Reply Last reply Reply Quote 0
      • T
        terenty last edited by

        Hi,
        I don't know how to fix your problem or if it is a bug in Qt5.1.1, but as an alternative you could try "Qt5.2rc1":http://download.qt-project.org/development_releases/qt/5.2/5.2.0-rc1/ to see if it's been fixed (coz a lot has changed since Qt5.1.1) or to switch to only one top window design as itsmore natural for Android (using QStackedWidget for example)

        1 Reply Last reply Reply Quote 0
        • M
          mant last edited by

          Google showed me this error has been existed for long time. It won't be fixed I think. Thank you for replying me. I will use the solution.

          1 Reply Last reply Reply Quote 0
          • T
            terenty last edited by

            No problemo good luck & have fun :)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post