Results 1 to 3 of 3

Thread: emit singnals from another thread

Threaded View

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

    Default Re: emit singnals from another thread

    The signal would be emitted from the thread that is executing your code that does the emit. Your connect statements above will used queued connections when the sender/receiver are in different threads. You can force the connection type, but I would recommend that you use the default queued connection type unless you have very specific requirements.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  2. The following user says thank you to jefftee for this useful post:

    danics (8th March 2017)

Similar Threads

  1. how to emit from thread
    By saman_artorious in forum Qt Programming
    Replies: 4
    Last Post: 20th April 2013, 16:17
  2. Emit signal from thread
    By sisco in forum Newbie
    Replies: 2
    Last Post: 26th November 2009, 13:32
  3. emit is slow in Thread?
    By vishal.chauhan in forum Qt Programming
    Replies: 3
    Last Post: 2nd August 2007, 08:52
  4. QT emit/signaling thread-safe?
    By richy in forum Qt Programming
    Replies: 1
    Last Post: 14th July 2006, 09:37
  5. Replies: 2
    Last Post: 6th January 2006, 21:15

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.