forked from qt-creator/qt-creator
The plugin is based on the 'modelinglib' library. For features and screenshots see https://wiki.qt.io/ModelEditor Change-Id: I857be0652a852cc69a9729f64e67134fe630af00 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
55 lines
1.4 KiB
QML
55 lines
1.4 KiB
QML
import qbs 1.0
|
|
|
|
Product {
|
|
name: "SharedContent"
|
|
|
|
Group {
|
|
name: "Unconditional"
|
|
qbs.install: true
|
|
qbs.installDir: project.ide_data_path
|
|
qbs.installSourceBase: "qtcreator"
|
|
prefix: "qtcreator/"
|
|
files: [
|
|
"cplusplus/**/*",
|
|
"debugger/**/*",
|
|
"designer/**/*",
|
|
"generic-highlighter/**/*",
|
|
"glsl/**/*",
|
|
"modeleditor/**/*",
|
|
"qml/**/*",
|
|
"qmldesigner/**/*",
|
|
"qmlicons/**/*",
|
|
"qml-type-descriptions/**/*",
|
|
"schemes/**/*",
|
|
"snippets/**/*",
|
|
"styles/**/*",
|
|
"templates/**/*",
|
|
"themes/**/*",
|
|
"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;
|
|
}
|
|
}
|
|
}
|