To prevent linker errors related to \Qt6.2.2\android\include\QtConcurrent\qtconcurrentrunbase.h
void run() override
{
if (promise.isCanceled()) {
promise.reportFinished();
return;
}
#ifndef QT_NO_EXCEPTIONS
try {
#endif
runFunctor();
#ifndef QT_NO_EXCEPTIONS
} catch (QException &e) {
promise.reportException(e);
} catch (...) {
promise.reportException(QUnhandledException(std::current_exception()));
}
#endif
promise.reportFinished();
}