[Qt-interest] How to do it... in a QThread?
Luiz Vitor Martinez Cardoso
grabber at gmail.com
Fri Aug 5 00:20:26 CEST 2011
Dear,
I'm struggling on a problem.
Let's suppose we have a Qt GUI Application with just a simple QButton.
When the application is started the main constructor perform some operations
and set A,B,C and D variables values;
When I press the QButton I want to start a parallel process (Thread) to do
some operations using A, B, C and D. I will use a QMutex to keep everything
safe.
How can I make A, B, C and D visible to Thread? What I mean is: How can I
manipulate the content of A, B, C and D, perform something and update the
values?
Best regards,
Luiz.
--
Regards,
Luiz Vitor Martinez Cardoso
Celular: (11) 8187-8662 | Skype: grabberbr
engineer student at maua.br
<http://maua.br>intern marketing engineer at gepower.com
entrepreneur at adboxnetwork.com
"If you wanna be successful, you need total dedication, go for your last
limit, give your best and love your love infinitely!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110804/19e385ca/attachment-0001.html
More information about the Qt-interest-old
mailing list