TEMPLATE = app TARGET = mapdemo DEPENDPATH += . INCLUDEPATH += . QT += concurrent widgets # Input SOURCES += main.cpp CONFIG += console # install target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtconcurrent/map sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.pro *.png sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtconcurrent/map INSTALLS += target sources simulator: warning(This example does not work on Simulator platform)