forked from qt-creator/qt-creator
- Remove dependency on project.withAutotests by adding local
{Qt,Cpp}Application overrides that alias QtcManualTest. This way, the
respective products are a QtcManualTest when inside Qt Creator, while
also working outside the source tree.
- Rename QtcManualtest to QtcManualTest. (The reason QtcAutotest is not
camel-cased is because "autotest" is a single word.)
- Plus some minor clean-ups.
Change-Id: Idd77191f0b433d6d7443c639eebda383ab110082
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
20 lines
582 B
QML
20 lines
582 B
QML
import qbs.FileInfo
|
|
|
|
QtcManualTest {
|
|
name: "DeviceShell manualtest"
|
|
|
|
Depends { name: "Utils" }
|
|
Depends { name: "app_version_header" }
|
|
|
|
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;
|
|
}
|
|
|
|
files: "tst_deviceshell.cpp"
|
|
}
|