Results 1 to 4 of 4

Thread: QProcess Signal Connection and Type

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2015
    Posts
    20
    Thanks
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QProcess Signal Connection and Type

    Suppose a QProcess is started() from the main/GUI thread. And suppose the new processes finished() signal is connected to a SLOT in the main/GUI thread. Please confirm this will use a Qt::queuedConnection type.

    I'm almost certain it does as QProcess should be in another thread by definition.

    Thanks,
    -Rich

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QProcess Signal Connection and Type

    Quote Originally Posted by rhb327 View Post
    Please confirm this will use a Qt::queuedConnection type.
    No, there is no need for it
    Quote Originally Posted by rhb327 View Post
    I'm almost certain it does as QProcess should be in another thread by definition.
    Why?

Similar Threads

  1. Can QT application detect which type of connection is used?
    By satya@sipl in forum Qt Programming
    Replies: 1
    Last Post: 1st December 2012, 13:16
  2. Cost of a signal to signal connection
    By hiçbirşeyyok in forum Qt Programming
    Replies: 2
    Last Post: 25th February 2012, 17:11
  3. Replies: 1
    Last Post: 16th March 2010, 15:46
  4. How to use Signal through direct connection
    By santosh.kumar in forum Qt Programming
    Replies: 1
    Last Post: 14th December 2007, 07:07
  5. Signal connection
    By Lele in forum Qt Programming
    Replies: 1
    Last Post: 13th November 2007, 11:29

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.