QThread, emitting signal after entering in to the event loop.
Hi,
How to get notified after after a thread enters eventLoop(i.e entering exec() fn.)
Re: QThread, emitting signal after entering in to the event loop.
Use QMetaObject::invokeMethod() with QueuedConnection to trigger a signal. It will be executed only when the event loop is active. Just bear in mind QThread object doesn't belong to the thread it represents so it can't be a signal of the QThread derived object but rather some other object that lives in the thread (of course you can then propagate the signal to the thread object).