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. Properly close a window on Android (QtWidget)

Properly close a window on Android (QtWidget)

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.3k Views
  • 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 Offline
    M Offline
    mant
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      terenty
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        mant
        wrote on last edited by
        #3

        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
        0
        • T Offline
          T Offline
          terenty
          wrote on last edited by
          #4

          No problemo good luck & have fun :)

          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