1 2 3 4 5 6 7
QT += concurrent widgets CONFIG += cmdline SOURCES += main.cpp target.path = $$[QT_INSTALL_EXAMPLES]/qtconcurrent/runfunction INSTALLS += target