Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
f191ba9d71bd910f205a2f41c5ac6c0d959439ed
Description
To whom it may concern:
Recently, we intended to relay a couple of Linux Signal such as SIGINT and SIGTERM to the QT application so that it can exit gracefully when the ctrl-C is pressed or the process is killed.
We were able to update the widgets/widgets/calculator example to test this concept following the link http://doc.qt.io/qt-5.5/unix-signals.html.
We were able to test this modification at QT 5.4 and QT 5.5/Wayland successfully. But the same failed at QT5.5/eglfs mode.
We then realized there was a recent patch f6e6ef46b382e1a7f827afc5f70ce6e5deaa7e86 to relay and process Signals at QT core and we are able to trace the code up to “emit interrupted();” which seems to trigger some kind of “activated” operation.
It seems to us that the QT core may be able to pass those signal to the end user. What do we need to do to receive those signal at the user QT program? Your advice will be highly appreciated!
Best regards,
Eric
Attachments
For Gerrit Dashboard: QTBUG-48384 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
126672,3 | Revamp signal handling in eglfs/linuxfb | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |