[Qt-interest] To start a thread without having a class derived from QThread
Boudewijn Rempt
boud at valdyas.org
Thu Mar 5 10:56:02 CET 2009
On Thu, 5 Mar 2009, Hemalatha Venkataswamy wrote:
> Hi,
>
> For using QRunnable also, it seems we need to have class derived from
> QRunnable. is this true? I have few functions which need to be called when
Yes.
> I click a button and this should be processed in a thread so that it does
> not disturb my main UI thread.
You could also tray QtConecurrent::run.
> Is there any example codes available?
I haven't checked, but have you looked in your qt example/demo directories?
Boudewijn
More information about the Qt-interest-old
mailing list