MainWindow* w = new MainWindow();w->show();simpleCalculateClass classObj;std::vector <QFuture<QString>> listFuncs;int count_thread = QThread::idealThreadCount()-1;for(int i = 0; i < count_thread; i++) listFuncs.push_back(QtConcurrent::run(&classObj,&simpleCalculateClass::incrCalc, QString::number(i), 1111111111));