Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How do i make my Qt GUI application pop up when i hit shut down button in ubuntu 14.04?
Forum Updated to NodeBB v4.3 + New Features

How do i make my Qt GUI application pop up when i hit shut down button in ubuntu 14.04?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 711 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vIJI
    wrote on last edited by
    #1

    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 start

    Any help is appreciated..
    Thank you

    1 Reply Last reply
    0
    • ValentinMicheletV Offline
      ValentinMicheletV Offline
      ValentinMichelet
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Isn't that the same question you asked here ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved