Re: how can thread receive data sent by main thread
Originally Posted by Grimlock
Try adding exec(); at the end of the run function. Its going to start an event loop for the thread and you will be able to connect some signals to solots in the thread, using Qt::QueuedConnection.
by calling thread event loop by exec(); i got problems with signal-slot connection with, as i mentioned above, with stting propper pointer to my main thread
Bookmarks