How do i make my Qt GUI application pop up when i hit shut down button in ubuntu 14.04?
-
Hi,
Im trying to pop up my application whenever i hit shut down button in ubuntu...can anybody help me with this please?
I'hv no idea......how to startAny help is appreciated..
Thank you -
Hi,
I'm not sure to understand it correctly. Your Application needs to be launched when you shut down your OS, or is your application already launched and has to intercept the shut down signal, to do stuff before closing for instance?
Anyway, you can have a look at signal handling here:
http://www.alexonlinux.com/signal-handling-in-linux
http://man7.org/linux/man-pages/man7/signal.7.html
http://stackoverflow.com/questions/17942034/simple-linux-signal-handling
http://www.linuxprogrammingblog.com/all-about-linux-signals?page=3 -
Hi,
Isn't that the same question you asked here ?
3/3