Files
qt-creator/tests/auto/solutions/qprocesstask/qprocesstask.qbs
Jarek Kobus 62ad0014f1 TaskTree test: Simplify subprocess name
Fix the qbs build.

Amends 63bfeba87f

Change-Id: I271e5059ba8becf4aade8ce21ff9f40201f3734b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-11-15 15:00:26 +00:00

26 lines
788 B
QML

import qbs.FileInfo
Project {
QtcAutotest {
name: "QProcessTask autotest"
Depends { name: "Qt"; submodules: ["network"] }
Depends { name: "Tasking" }
files: [
"tst_qprocesstask.cpp",
]
cpp.defines: {
var defines = base;
if (qbs.targetOS === "windows")
defines.push("_CRT_SECURE_NO_WARNINGS");
defines.push('PROCESS_TESTAPP="'
+ FileInfo.joinPaths(destinationDirectory, "testsleep/testsleep") + '"');
return defines;
}
destinationDirectory: project.buildDirectory + '/'
+ FileInfo.relativePath(project.ide_source_tree, sourceDirectory)
}
references: "testsleep/testsleep.qbs"
}