Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Sending Your Own Types Between Threads



  • I have a problem when trying to make program sample work, it's from "Foundation of Qt Development" - 356th page - Sending Your Own Data Types Between Threads.

    I get the error: http://pastebin.com/q7T95YjR

    I've got an impression that this topic is poorly explained, or it's not for beginners.


  • Lifetime Qt Champion

    Hi,

    Are you using the exact same code as the book ?

    One thing that is puzzling in the error is that it seems that at some point you are trying to copy a QThread which is not possible since it's a QObject derived class.