Build diagrams.rcc.

This commit is contained in:
Roman Telezhynskyi 2023-01-13 17:54:42 +02:00
parent 769b11926a
commit 746b30c341

View File

@ -11,6 +11,7 @@ VToolApp {
Depends { name: "VFormatLib"; }
Depends { name: "VWidgetsLib"; }
Depends { name: "VToolsLib"; }
Depends { name: "ebr" }
name: "Tape"
buildconfig.appTarget: qbs.targetOS.contains("macos") ? "Tape" : "tape"
@ -187,4 +188,22 @@ VToolApp {
qbs.install: true
qbs.installDir: buildconfig.installDataPath + FileInfo.pathSeparator() + "translations"
}
Group {
name: "Diagrams"
prefix: FileInfo.joinPaths(product.sourceDirectory, "share", "resources", FileInfo.pathSeparator())
files: "diagrams.qrc"
fileTags: "ebr.external_qrc"
}
Group {
fileTagsFilter: "ebr.rcc"
qbs.install: true
qbs.installDir: {
if (qbs.targetOS.contains("unix") && !qbs.targetOS.contains("macos"))
return FileInfo.joinPaths("share", "valentina", FileInfo.pathSeparator());
else
return buildconfig.installDataPath + FileInfo.pathSeparator();
}
}
}