On Wednesday 28 March 2007, Paulo Moura Guedes wrote:
> On Wednesday 28 March 2007 01:29, Paulo Moura Guedes
wrote:
> > The only problem I noticed is that if the
AsyncObject internals use timers,
> > for example, I get the "QObject::startTimer:
timers cannot be started from
> > another thread" message.
> > I don't understand this however, because the
timers are ran in the same
> > thread as the AsyncObject.
>
> BTW, this also happens if I just use QThread :/
Make sure to also _create_ the QTimer in the thread and not
in the QThread constructor
(which runs in the calling thread).
--
David Faure, faure kde.org, sponsored by Trolltech to work on
KDE,
Konqueror (http://www.konqueror.org
), and KOffice (http://www.koffice.org).
>> Visit
http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
unsubscribe <<
|