2012-02-09 14:30:09 +01:00
|
|
|
import qbs.base 1.0
|
|
|
|
|
|
|
|
|
|
Product {
|
|
|
|
|
name: "SharedContent"
|
|
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "Unconditional"
|
2013-01-16 11:27:26 +01:00
|
|
|
qbs.install: true
|
2013-04-19 16:20:22 +02:00
|
|
|
qbs.installDir: project.ide_data_path
|
2013-01-16 11:27:26 +01:00
|
|
|
prefix: "qtcreator/"
|
|
|
|
|
files: [
|
|
|
|
|
"designer",
|
|
|
|
|
"dumper",
|
|
|
|
|
"generic-highlighter",
|
|
|
|
|
"glsl",
|
|
|
|
|
"qml",
|
|
|
|
|
"qmldesigner",
|
|
|
|
|
"qmlicons",
|
|
|
|
|
"qml-type-descriptions",
|
|
|
|
|
"schemes",
|
|
|
|
|
"snippets",
|
|
|
|
|
"styles",
|
|
|
|
|
"templates",
|
|
|
|
|
"welcomescreen"
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
}
|
2012-10-16 12:45:20 +02:00
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "Conditional"
|
2013-01-16 11:27:26 +01:00
|
|
|
qbs.install: true
|
2013-04-19 16:20:22 +02:00
|
|
|
qbs.installDir: project.ide_data_path + "/externaltools"
|
2012-10-16 12:45:20 +02:00
|
|
|
prefix: "../src/share/qtcreator/externaltools/"
|
|
|
|
|
files: {
|
|
|
|
|
var list = [
|
|
|
|
|
"lrelease.xml",
|
|
|
|
|
"lupdate.xml",
|
|
|
|
|
"qmlviewer.xml",
|
|
|
|
|
"sort.xml",
|
|
|
|
|
]
|
|
|
|
|
switch (qbs.targetOS) {
|
|
|
|
|
case "windows":
|
|
|
|
|
list.push("notepad_win.xml");
|
|
|
|
|
break;
|
|
|
|
|
case "mac":
|
|
|
|
|
list.push("vi_mac.xml");
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
list.push("vi.xml");
|
|
|
|
|
}
|
|
|
|
|
return list;
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
|
|
|
|
|