Exchange data between qt thread and c++ thread
General and Desktop
2
Posts
2
Posters
831
Views
1
Watching
-
Hi,
To utilize the signal/slot the classes MUST be subclass of QObject. Without it, it will not work. The Qthread you made is probably lucky that the C++ is his parent, so it will connect to that, but giving data back means that the C++ thread should have an QObject part running, which it doesn't so it will not handle the events.