Results 1 to 17 of 17

Thread: moveToThread and connecting Signals

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: moveToThread and connecting Signals

    Ok, so if I decide to use QMutex, all I have to do is to guard the setThreadToNULL slot and the destructor.

    The mutex will prevent(block) the thread from deleting, while destructor is executing. Right?
    Last edited by Qiieha; 14th August 2015 at 13:29.

Similar Threads

  1. Connecting signals and slots from different process
    By Momergil in forum Qt Programming
    Replies: 3
    Last Post: 8th February 2014, 15:59
  2. Connecting Qml signals to Qt
    By mots_g in forum Qt Programming
    Replies: 5
    Last Post: 12th May 2011, 11:37
  3. Connecting QML signals with Qt slots
    By KIBSOFT in forum Qt Quick
    Replies: 1
    Last Post: 15th November 2010, 09:18
  4. Connecting signals and slots help pls
    By bod in forum Qt Programming
    Replies: 9
    Last Post: 1st July 2008, 15:01
  5. QHttp signals not connecting...
    By trobbins0000 in forum Newbie
    Replies: 1
    Last Post: 27th February 2007, 02:45

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.