×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    87

    How to quit from QT?

    QApplication::exec() will trigger the even loop and begin executing. But how to quit the program without manually click the "EXIT" button on UI?

  2. #2
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    87

    Re: How to quit from QT?

    The reason is, return app.exec() will not quit automatically.

  3. #3
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to quit from QT?

    app.quit();

Similar Threads

  1. Qt for Symbian development resources
    By liuxg in forum [Archived] Qt General ( Qt技术)
    Replies: 55
    Last Post: 2011-01-26, 04:06
  2. Nokia Qt SDK Maemo5 examples
    By raedbenz in forum Nokia N9
    Replies: 25
    Last Post: 2010-05-16, 12:10
  3. automatic rotate screen on meamo
    By fily_love in forum Nokia N9
    Replies: 27
    Last Post: 2010-04-06, 08:37
  4. gsreamer-0.10-plugins-good+Phonon
    By niqt in forum Nokia N9
    Replies: 10
    Last Post: 2010-03-05, 09:56
  5. kinetic scrolling
    By stalep in forum Nokia N9
    Replies: 10
    Last Post: 2009-12-08, 12:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×