[Qt-interest] Basic Qthread question - part 4
Sean Harmer
sean.harmer at maps-technology.com
Wed May 5 10:17:55 CEST 2010
Hi Phil,
On Wednesday 05 May 2010 09:07:18 Phil wrote:
> Once again, thank you for reading this.
>
> I thought I had threads sorted out but apparently not.
>
> First the GUI starts the thread timer, then each second getData() is
> called. getData() is time-intensive and still blocks the GUI while it is
> running.
>
> I have tried QThread::quit() at the end of getData() in case I need to
> start a new thread each second but that is not the answer. Actually, I
> have tried just about everything that I can think of; all without success.
What was wrong with the solution that I gave you in response to your first
query? All you had to do was fill in the code that actually communicates with
your device.
Cheers,
Sean
More information about the Qt-interest-old
mailing list