Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.5, 5.12.10
-
None
-
Windows 10
Description
- Create empty Quick application.
- Change QGuiApplication to QApplication and enable widgets in .pro file.
- In Qml code, open ColorDialog.
Bug: when the color dialog is closed, the main window, created by QML is still active, but QGuiApplication::lastWindowClosed is issued. It seems it's issued by widgets core, which does not know that windows can be created by other Qt components.
I've attached a minimal reproducible example.