Results 1 to 8 of 8

Thread: How to confirm the clean exit of QApplication

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to confirm the clean exit of QApplication

    How about QCoreApplication::aboutToQuit signal ?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to confirm the clean exit of QApplication

    I guess it mosly depends on whether you need the event loop during cleanup.
    If you do, Lesiok's suggestion would give you that, if you don't, I'd also go for Wysota's suggestion.

    Cheers,
    _

Similar Threads

  1. A problem about "undefined reference to `Clean::Clean(QObject*)'
    By GeorgeDao123 in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 10th February 2013, 09:36
  2. Replies: 2
    Last Post: 27th July 2011, 04:24
  3. How works QApplication::exit()
    By anoraxis in forum Newbie
    Replies: 5
    Last Post: 12th April 2011, 20:13
  4. Clean Exit of QWSServer
    By ssc in forum Qt Programming
    Replies: 0
    Last Post: 11th January 2011, 12:55
  5. clean exit!!
    By Raajesh in forum Qt Programming
    Replies: 1
    Last Post: 17th June 2008, 16:33

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.