blob: 9a4409793fe026192f31a83d97a25d07090f7ebe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import qbs.FileInfo
Project {
QtcManualtest {
name: "DeviceShell manualtest"
Depends { name: "Utils" }
Depends { name: "app_version_header" }
files: [
"tst_deviceshell.cpp",
]
cpp.defines: {
var defines = base;
var absLibExecPath = FileInfo.joinPaths(qbs.installRoot, qbs.installPrefix,
qtc.ide_libexec_path);
var relLibExecPath = FileInfo.relativePath(destinationDirectory, absLibExecPath);
defines.push('TEST_RELATIVE_LIBEXEC_PATH="' + relLibExecPath + '"');
return defines;
}
}
}
|