引用第1楼dbzhang800于2012-05-02 11:15发表的 :
有。具体看manual
http://qt-project.org/doc/qt-4.8/thread-basics.html

里面的这种方法,可以不?:
// helloconcurrent/main.cpp
void hello()
{
qDebug() << "Hello from thread " << QThread::currentThread();
}
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
QFuture<void> future = QtConcurrent::run(hello);
qDebug() << "hello from GUI thread " << QThread::currentThread();
future.waitForFinished();
return 0;
}