-
Qt MultiThread Help
Hi.
I am a newbie of the Qt world and I am currently working on a program to develope a gui for a C++ application.
The structure of the program is the following: 2 producer threads, with a different speed ( 1 produces data every 120ms, another after 250ms ), no synchronization
I just finished the interface and i can see the real time data produced ( 2 sensors, 1 for each thread )
the problem now is realted to consumer thread.. i created the signals and the slots but when i call the emit seems that no data is sent to the consumer thread...
i used the connet command to link signal and slot but nothing happens.. the data to send is and INT array..
Any suggestion?
thanks in advance
-
Re: Qt MultiThread Help
I think you have to register that array in qRegisterMetaType; I did this a few weeks ago for a similar problem:
http://doc.qt.nokia.com/4.7-snapshot...gisterMetaType