diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-31 10:25:42 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-10-31 15:08:24 +0000 |
commit | 1631c8bbfdf1bcabe3d860db4626adb780a988e7 (patch) | |
tree | 9ab7f1163cbf2398015b44e534859fbaf2b45abf /examples/qtconcurrent/runfunction | |
parent | 356ca93eb2f9d3e4be2caf0a0a13cde9cb75e807 (diff) | |
download | qtbase-wip/qbs2.tar.gz |
Port the exampleswip/qbs2
Change-Id: I86d7bddf956b8d48b05b0b96112a74e7e270bb23
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples/qtconcurrent/runfunction')
-rw-r--r-- | examples/qtconcurrent/runfunction/runfunction.qbs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/qtconcurrent/runfunction/runfunction.qbs b/examples/qtconcurrent/runfunction/runfunction.qbs new file mode 100644 index 0000000000..d20ddd08b6 --- /dev/null +++ b/examples/qtconcurrent/runfunction/runfunction.qbs @@ -0,0 +1,22 @@ +import qbs +import qbs.FileInfo + +CppApplication { + name: "runfunction" + condition: Qt.concurrent.present && Qt.widgets.present + consoleApplication: true + + Depends { name: "Qt.concurrent"; required: false } + Depends { name: "Qt.widgets"; required: false } + + files: [ + "main.cpp", + ] + + Group { + fileTagsFilter: ["application"] + qbs.install: true + qbs.installDir: FileInfo.joinPaths(Qt.core.examplesInstallDir, "qtconcurrent", + "runfunction") + } +} |