mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-06-30 16:18:12 +02:00
35 lines
1.1 KiB
QML
35 lines
1.1 KiB
QML
import qbs.FileInfo
|
|
|
|
VTestApp {
|
|
Depends { name: "buildconfig" }
|
|
Depends { name: "VTestLib" }
|
|
Depends { name: "Qt"; submodules: ["testlib", "xml", "gui", "printsupport"] }
|
|
Depends { name: "conan.XercesC"; condition: buildconfig.useConanPackages }
|
|
Depends { name: "autotest" }
|
|
|
|
name: "TranslationsTest"
|
|
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "TranslationsTest" : "translationsTest"
|
|
targetName: buildconfig.appTarget
|
|
autotest.workingDir: product.buildDirectory
|
|
|
|
files: [
|
|
"qttestmainlambda.cpp",
|
|
"tst_measurementregexp.cpp",
|
|
"tst_qmuparsererrormsg.cpp",
|
|
"tst_tstranslation.cpp",
|
|
"tst_buitinregexp.cpp",
|
|
"tst_abstractregexp.cpp",
|
|
"tst_tslocaletranslation.cpp",
|
|
"tst_abstracttranslation.cpp",
|
|
"tst_measurementregexp.h",
|
|
"tst_qmuparsererrormsg.h",
|
|
"tst_tstranslation.h",
|
|
"tst_buitinregexp.h",
|
|
"tst_abstractregexp.h",
|
|
"tst_tslocaletranslation.h",
|
|
"tst_abstracttranslation.h",
|
|
]
|
|
|
|
cpp.defines: 'TS_DIR="' + FileInfo.joinPaths(project.sourceDirectory, "share", "translations") + '"'
|
|
}
|