[Qt-interest] To start a thread without having a class derived from QThread
Yves Bailly
yves.bailly at sescoi.fr
Thu Mar 5 10:40:20 CET 2009
Hemalatha Venkataswamy wrote:
>
> Hi,
>
> We have a GUI developed with single threaded application and we have a
> function which is asynchronus and is called inside my main thread, I
> need to call this function in a seperate thread but i dont want to have
> a class derived from QThread and call the function with QThread's
> start() call.
>
> Is it possible to start a thread without having a class derived from
> QThread?
Consider QtConcurrent :
http://doc.trolltech.com/4.5/threads.html#qtconcurrent-intro
--
/- Yves Bailly - Software developper -\
\- Sescoi France http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
More information about the Qt-interest-old
mailing list