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