Results 1 to 7 of 7

Thread: signal and slot across threads having event loop

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2006
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: signal and slot across threads having event loop

    "What do you mean by "two GUI threads"?"

    One QThread subclass , and other the QApplication based Main Thread.

    "Do you make any connections between QThread subclasses and other objects?"

    Yes, I make connections with QObject subclass that resides in Main Thread (as in Thread affinity) and was also created in Main Thread.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: signal and slot across threads having event loop

    Quote Originally Posted by travis View Post
    One QThread subclass , and other the QApplication based Main Thread.
    Does this QThread subclass have anything to do with GUI?

    Quote Originally Posted by travis View Post
    Yes, I make connections with QObject subclass that resides in Main Thread (as in Thread affinity) and was also created in Main Thread.
    Does this QObject subclass send signals to the thread?

Similar Threads

  1. Workload in a QThread blocks main application's event loop ?
    By 0xBulbizarre in forum Qt Programming
    Replies: 14
    Last Post: 9th April 2006, 21:55
  2. signal slot conection using a string, not a SLOT
    By rianquinn in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2006, 18:52
  3. Replies: 4
    Last Post: 23rd January 2006, 16:51

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.