Results 1 to 5 of 5

Thread: QThread slots not executed in created thread context?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: QThread slots not executed in created thread context?

    slots get handled in the thread that the object exists in (by default). I forget how much you can change the behaviour by changing connect(...) arguments.

    It's conceivable that moving the connect for cam_thread after the point where cam_thread has moved thread will change the behaviour of the connection
    Last edited by amleto; 13th September 2011 at 20:37.

Similar Threads

  1. Created sub-menus slots won't work
    By thefatladysingsopera in forum Newbie
    Replies: 2
    Last Post: 5th September 2011, 16:29
  2. Replies: 5
    Last Post: 22nd February 2011, 21:21
  3. Receiving slots in QThread's context ?
    By The Storm in forum Qt Programming
    Replies: 10
    Last Post: 14th August 2010, 13:01
  4. QThread slot executed in GUI thread
    By tnyblom in forum Qt Programming
    Replies: 13
    Last Post: 25th May 2010, 07:49
  5. Replies: 3
    Last Post: 5th March 2009, 07:27

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.