Results 1 to 5 of 5

Thread: Problem with closeEvent handler implementation.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2015
    Posts
    105
    Thanks
    50

    Default Re: Problem with closeEvent handler implementation.

    Quote Originally Posted by anda_skoa View Post
    You can either make the program wait for the process or use QProcess::startDetached().

    Cheers,
    _
    Its working as i want. Thanks!
    But what's the difference between use QProcess::startDetached() and QThreads as i tried?

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Problem with closeEvent handler implementation.

    When using QProcess::startDetached(), an external process that is then detached from the parent process, so that it can persist after the parent process has ended.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

Similar Threads

  1. Problem with QGraphicsProxyWidget implementation
    By papillon in forum Qt Programming
    Replies: 8
    Last Post: 26th April 2014, 17:00
  2. Replies: 6
    Last Post: 21st March 2011, 13:29
  3. List implementation problem
    By Kanguro in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2009, 18:38
  4. implementation of QabstractItemModel problem
    By mikelantonio in forum Newbie
    Replies: 2
    Last Post: 7th August 2009, 16:31
  5. QAbstractTextDocumentLayout handler problem
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 26th April 2008, 20:58

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.