Details
-
Task
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
None
Description
QCoreApplication has an internal function called QCoreApplication::watchUnixSignal() which makes it easier (and safer) to handle UNIX signals inside Qt. When using this function with the GLib event dispatcher, the handler is registered and called correctly (updates the sig_atomic_t variable), but the integration with the event dispatcher is missing such that the Qt signal, QCoreApplication::unixSignal, is never emitted. This would be nice to have working.
It would also be useful if this was a publicly documented function instead of internal.
Attachments
Issue Links
- is replaced by
-
QTBUG-10928 There is no standard way to deliver a UNIX signal into the Qt main loop
-
- Open
-