Results 1 to 3 of 3

Thread: Starting QProcess from QThread

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    19
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Starting QProcess from QThread

    I would just use QProcess::startDetached and not use a thread at all for this kind of stuff.

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    29
    Thanked 50 Times in 47 Posts

    Default Re: Starting QProcess from QThread

    Since, Thread is a lightweight and process is the heavyweight, So it is unnecessary to define a heavyweight process under lightweight. I am not confirmed about that, but that what my perception says....

Similar Threads

  1. QThread to run one or more QProcess
    By smhall316 in forum Newbie
    Replies: 0
    Last Post: 27th September 2011, 20:39
  2. Replies: 2
    Last Post: 18th December 2010, 22:13
  3. QProcess starting minimized
    By kobus in forum Qt Programming
    Replies: 1
    Last Post: 11th August 2009, 23:01
  4. QProcess starting minimized
    By moe in forum Qt Programming
    Replies: 4
    Last Post: 3rd March 2007, 08:32
  5. QProcess in a QThread
    By chombium in forum Qt Programming
    Replies: 2
    Last Post: 11th January 2006, 15:52

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
  •  
Qt is a trademark of The Qt Company.