QtConcurrent::run()编译时报错:error: no matching function for call to 'run(<unresolved overloaded function type>, int)'
解决办法:
QFuture<int> f = QtConcurrent::run(this,MainWindow::test, 4);
QtConcurrent::run()编译时报错:error: no matching function for call to 'run(<unresolved overloaded function type>, int)'
解决办法:
QFuture<int> f = QtConcurrent::run(this,MainWindow::test, 4);