[Qt-interest] global thread not running until main app starts
Andrew Medico
a.medico at gmail.com
Wed Jan 14 02:22:28 CET 2009
You probably should exec() QApplication before starting your QThreads,
so that Qt can set up its internal workings (event loop, etc). The
documentation at http://doc.trolltech.com/4.4/threads.html states "you
must create the QApplication (or QCoreApplication) object before you
can create a QThread."
--
Andrew Medico <a.medico at gmail.com>
More information about the Qt-interest-old
mailing list