[Interest] QEvent::Quit vs. QEvent::Close

Alexander Dyagilev alervdvcw at gmail.com
Tue Oct 24 20:31:36 CEST 2023


Then, it means it's a bug, because it's set always. At least in Qt 6.4.2.

On 10/24/2023 12:15 AM, Volker Hilsheimer via Interest wrote:
> They should; the window system event is handled as a spontaneous event and should reach Q(Gui)Application::event with the spontaneous flag set; a call to Q(Core)Application::quit sends (or posts, depending on the thread) the event as a synthetic event to the qApp instance, so the spontaneous flag will not be set.
>
> Volker
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20231024/de28fbc8/attachment.htm>


More information about the Interest mailing list