I\'m trying to use threads in Qt to delegate some work to a thread, but I can\'t get it to work. I have a class inheriting QMainWindow that have a member object that launch
If you are moving your object through signals and slots (you have created your m_poller in one thread and called a signal and passed it to a slot of another object which is not in caller thread) make sure to use Qt::DirectConnection type for your connect. In this way your slot will execute in the caller thread and calling moveToThread is in the caller thread.