2014-03-11 11:30:14 +01:00
|
|
|
import qbs 1.0
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
Product {
|
|
|
|
name: "SharedContent"
|
2016-05-17 10:50:51 +02:00
|
|
|
Depends { name: "qtc" }
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "Unconditional"
|
2013-01-16 11:27:26 +01:00
|
|
|
qbs.install: true
|
2016-05-17 10:50:51 +02:00
|
|
|
qbs.installDir: qtc.ide_data_path
|
2015-05-05 11:38:53 +02:00
|
|
|
qbs.installSourceBase: "qtcreator"
|
2013-01-16 11:27:26 +01:00
|
|
|
prefix: "qtcreator/"
|
|
|
|
files: [
|
2020-02-12 08:07:24 +01:00
|
|
|
"android/**/*",
|
2015-07-24 16:33:05 +02:00
|
|
|
"cplusplus/**/*",
|
2015-05-05 11:38:53 +02:00
|
|
|
"debugger/**/*",
|
2024-08-01 09:54:24 +02:00
|
|
|
"debugger-with-python2/**/*",
|
2015-05-05 11:38:53 +02:00
|
|
|
"designer/**/*",
|
|
|
|
"glsl/**/*",
|
2024-06-05 15:52:28 +02:00
|
|
|
"jsonschemas/**/*",
|
2024-07-24 12:48:37 +02:00
|
|
|
"lua-lupdate/**/*",
|
2024-06-21 07:37:18 +02:00
|
|
|
"lua-plugins/**/*",
|
2015-08-31 18:06:36 +02:00
|
|
|
"modeleditor/**/*",
|
2015-05-05 11:38:53 +02:00
|
|
|
"qml/**/*",
|
|
|
|
"qmldesigner/**/*",
|
|
|
|
"qmlicons/**/*",
|
|
|
|
"qml-type-descriptions/**/*",
|
|
|
|
"schemes/**/*",
|
2019-03-28 18:17:37 +01:00
|
|
|
"scripts/**/*",
|
2015-05-05 11:38:53 +02:00
|
|
|
"snippets/**/*",
|
|
|
|
"styles/**/*",
|
|
|
|
"templates/**/*",
|
|
|
|
"themes/**/*",
|
|
|
|
"welcomescreen/**/*"
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
2018-02-01 14:38:39 +01:00
|
|
|
excludeFiles: [
|
|
|
|
"qml-type-descriptions/qbs-bundle.json",
|
|
|
|
"qml-type-descriptions/qbs.qmltypes",
|
2020-08-03 17:09:13 +02:00
|
|
|
"debugger/**/__pycache__/*",
|
2024-08-01 09:54:24 +02:00
|
|
|
"debugger-with-python2/**/__pycache__/*",
|
2018-02-01 14:38:39 +01:00
|
|
|
]
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|
2012-10-16 12:45:20 +02:00
|
|
|
|
2016-03-24 12:46:10 +01:00
|
|
|
Group {
|
|
|
|
name: "3rdparty"
|
|
|
|
qbs.install: true
|
2016-05-17 10:50:51 +02:00
|
|
|
qbs.installDir: qtc.ide_data_path
|
2016-03-24 12:46:10 +01:00
|
|
|
qbs.installSourceBase: project.ide_source_tree + "/src/share/3rdparty"
|
|
|
|
prefix: project.ide_source_tree + "/src/share/3rdparty/"
|
|
|
|
files: [
|
2021-03-31 12:26:41 +02:00
|
|
|
"fonts/**/*",
|
|
|
|
"package-manager/**/*",
|
2016-03-24 12:46:10 +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
|
2016-05-17 10:50:51 +02:00
|
|
|
qbs.installDir: qtc.ide_data_path + "/externaltools"
|
2013-09-05 14:56:45 +02:00
|
|
|
prefix: project.ide_source_tree + "/src/share/qtcreator/externaltools/"
|
2012-10-16 12:45:20 +02:00
|
|
|
files: {
|
|
|
|
var list = [
|
2021-07-12 10:38:13 +02:00
|
|
|
"qml.xml",
|
2012-10-16 12:45:20 +02:00
|
|
|
]
|
2013-07-12 13:49:41 +02:00
|
|
|
if (qbs.targetOS.contains("windows"))
|
2012-10-16 12:45:20 +02:00
|
|
|
list.push("notepad_win.xml");
|
2016-07-28 11:29:06 +02:00
|
|
|
else if (qbs.targetOS.contains("macos"))
|
2012-10-16 12:45:20 +02:00
|
|
|
list.push("vi_mac.xml");
|
2013-07-12 13:49:41 +02:00
|
|
|
else
|
2012-10-16 12:45:20 +02:00
|
|
|
list.push("vi.xml");
|
|
|
|
return list;
|
|
|
|
}
|
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|