I have need for a local event loop to block code execution while continuing to process QEvents.
I use QEventLoop and it's working as expected--call it tcExecuting.
The code that calls tclExecuting.exec() blocks until tclExecuting's exit() slot is called via a connected signal.
The QEventLoop is static and declared outside of any function/method like this:
QEventLoop TclInterp::tclExecuting;
At runtime, before the first line of main() I get the message:
Not sure what this message is trying to tell me. Can I safely ignore it?QEventLoop: Cannot be used without QApplication
Bookmarks