You are indeed correct. I am iterating on a minimal test case and the first versions do work. I'm working back to the minimal case that I experienced the issue. This may take some time though.
Thank you for your help
Sent: Thursday, April 11, 2019 at 10:07 AM
From: "Konstantin Shegunov" <[email protected]>
To: "Jason H" <[email protected]>
Cc: "Konstantin Shegunov" <[email protected]>, "Interests Qt" <[email protected]>
Subject: Re: [Interest] Signals, slots before the event loop starts?
From: "Konstantin Shegunov" <[email protected]>
To: "Jason H" <[email protected]>
Cc: "Konstantin Shegunov" <[email protected]>, "Interests Qt" <[email protected]>
Subject: Re: [Interest] Signals, slots before the event loop starts?
On Thu, Apr 11, 2019 at 4:57 PM Jason H <[email protected]> wrote:
Update on this:It didn't work. I called it, nothing (discernable) happened. Got a bunch of serial port not open errors....
Something else's amiss. Here's the test-case:
#include <QCoreApplication>
#include <QDebug>int main(int argc, char *argv[]){QCoreApplication app(argc, argv);QObject::connect(&app, &QCoreApplication::aboutToQuit, [] () -> void {qDebug() << "Goodbye cruel world!";});QMetaObject::invokeMethod(&app, &QCoreApplication::quit, Qt::QueuedConnection);return QCoreApplication::exec();}Which produces (as expected):17:05:37: Debugging starts
Goodbye cruel world!
17:05:38: Debugging has finished
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
