Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Sending Your Own Types Between Threads

Sending Your Own Types Between Threads

Scheduled Pinned Locked Moved Unsolved General and Desktop
qthreadsqtsignalqtslotqt5
2 Posts 2 Posters 931 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zola
    wrote on 12 Apr 2016, 10:24 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Apr 2016, 10:37 last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      12 Apr 2016, 10:37

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved