forked from qt-creator/qt-creator
Fix the qbs build.
Amends 63bfeba87f
Change-Id: I271e5059ba8becf4aade8ce21ff9f40201f3734b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
26 lines
788 B
QML
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"
|
|
}
|