forked from qt-creator/qt-creator
b822b3f9e2
Change-Id: I6c5c839dc199379edaf4c43ae4d6a0ed6ebdf751 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
39 lines
980 B
QML
39 lines
980 B
QML
import qbs
|
|
import qbs.FileInfo
|
|
|
|
QtcManualtest {
|
|
name: "Manual sftpfs model test"
|
|
condition: qbs.targetOS.contains("unix")
|
|
Depends { name: "Utils" }
|
|
Depends { name: "QtcSsh" }
|
|
Depends { name: "Qt.widgets" }
|
|
|
|
cpp.includePaths: [ "../../../../src/shared/modeltest" ]
|
|
|
|
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: [
|
|
"main.cpp",
|
|
"window.cpp",
|
|
"window.h",
|
|
"window.ui",
|
|
]
|
|
|
|
Group {
|
|
name: "Model test files"
|
|
prefix: "../../../../src/shared/modeltest/"
|
|
|
|
files: [
|
|
"modeltest.cpp",
|
|
"modeltest.h"
|
|
]
|
|
}
|
|
}
|