Results 1 to 7 of 7

Thread: Unix signal causing GUI to exit

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    8
    Thanked 18 Times in 17 Posts

    Default Unix signal causing GUI to exit

    Hi,

    I am struggling with GUI exit when a unix signal occurs, such as SIGSEGV or assert( false ). What I hope is to catch this signal and keep the application alive in order to give users a chance to save his data instead of losing everything in the middle of a job.

    I am trying to write this signal handler, but it doesn't work as the signal occurs in the middle of the Qt event loop.

    Please someone have a look at my codes and see if you can help.

    Thanks.
    Attached Files Attached Files

Similar Threads

  1. pthread instead QThread
    By brevleq in forum Qt Programming
    Replies: 8
    Last Post: 23rd December 2008, 07:16
  2. Connection of custon signals/slots
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 07:04
  3. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  4. Enter key causing program to exit
    By welby in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2006, 16:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.