Update on this:
It didn't work. I called it, nothing (discernable) happened. Got a bunch of serial port not open errors....
Sent: Thursday, April 11, 2019 at 9:44 AM
From: "Jason H" <jh...@gmx.com>
To: "Konstantin Shegunov" <kshegu...@gmail.com>
Cc: "Interests Qt" <interest@qt-project.org>
Subject: Re: [Interest] Signals, slots before the event loop starts?
From: "Jason H" <jh...@gmx.com>
To: "Konstantin Shegunov" <kshegu...@gmail.com>
Cc: "Interests Qt" <interest@qt-project.org>
Subject: Re: [Interest] Signals, slots before the event loop starts?
Thanks! If it's that easy, and more reliable, why doesn't qApp->quit() do it that way?
Sent: Thursday, April 11, 2019 at 8:54 AM
From: "Konstantin Shegunov" <kshegu...@gmail.com>
To: "Jason H" <jh...@gmx.com>
Cc: "Giuseppe D'Angelo" <giuseppe.dang...@kdab.com>, "Interests Qt" <interest@qt-project.org>
Subject: Re: [Interest] Signals, slots before the event loop starts?
From: "Konstantin Shegunov" <kshegu...@gmail.com>
To: "Jason H" <jh...@gmx.com>
Cc: "Giuseppe D'Angelo" <giuseppe.dang...@kdab.com>, "Interests Qt" <interest@qt-project.org>
Subject: Re: [Interest] Signals, slots before the event loop starts?
On Thu, Apr 11, 2019 at 3:48 PM Jason H <jh...@gmx.com> wrote:
What is the best way to do that? I think in the past, I used a 0ms timer, but that always feels janky.
QMetaObject::invokeMethod(qApp, &QCoreApplication::quit, Qt::QueuedConnection);
is my preference.
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest