forked from qt-creator/qt-creator
Change-Id: I0dc479bac4c9a0ebc449bf0fe89a54f1470060fb Reviewed-by: Christian Stenger <christian.stenger@digia.com>
51 lines
1.2 KiB
QML
51 lines
1.2 KiB
QML
import qbs.base 1.0
|
|
|
|
Product {
|
|
name: "SharedContent"
|
|
|
|
Group {
|
|
name: "Unconditional"
|
|
qbs.install: true
|
|
qbs.installDir: project.ide_data_path
|
|
prefix: "qtcreator/"
|
|
files: [
|
|
"debugger",
|
|
"designer",
|
|
"generic-highlighter",
|
|
"glsl",
|
|
"qml",
|
|
"qmldesigner",
|
|
"qmlicons",
|
|
"qml-type-descriptions",
|
|
"schemes",
|
|
"snippets",
|
|
"styles",
|
|
"templates",
|
|
"welcomescreen"
|
|
]
|
|
}
|
|
|
|
Group {
|
|
name: "Conditional"
|
|
qbs.install: true
|
|
qbs.installDir: project.ide_data_path + "/externaltools"
|
|
prefix: project.ide_source_tree + "/src/share/qtcreator/externaltools/"
|
|
files: {
|
|
var list = [
|
|
"lrelease.xml",
|
|
"lupdate.xml",
|
|
"qmlscene.xml",
|
|
"qmlviewer.xml",
|
|
"sort.xml",
|
|
]
|
|
if (qbs.targetOS.contains("windows"))
|
|
list.push("notepad_win.xml");
|
|
else if (qbs.targetOS.contains("osx"))
|
|
list.push("vi_mac.xml");
|
|
else
|
|
list.push("vi.xml");
|
|
return list;
|
|
}
|
|
}
|
|
}
|