aboutsummaryrefslogtreecommitdiffstats
path: root/share/share.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-05-17 10:50:51 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-08 08:46:00 +0000
commita0f956f0509a68d7eaec718bed294661bca49996 (patch)
treef3ff7d1b0063f3ade80db26ca1b5b844a5c34167 /share/share.qbs
parentdb9437c2e83ec11befa855e4806ac7920d1a5800 (diff)
qbs build: Introduce new module "qtc".
The qtc module gathers properties that used to live in the top-level project file. This is the first step towards making it possible to build plugins against an installed Qt Creator ("out of source build"). Change-Id: Ia1514cc9c888e80be01b308e908de48980fcbdb8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share/share.qbs')
-rw-r--r--share/share.qbs7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/share.qbs b/share/share.qbs
index 9a51fea6a9..df3e418bf4 100644
--- a/share/share.qbs
+++ b/share/share.qbs
@@ -2,11 +2,12 @@ import qbs 1.0
Product {
name: "SharedContent"
+ Depends { name: "qtc" }
Group {
name: "Unconditional"
qbs.install: true
- qbs.installDir: project.ide_data_path
+ qbs.installDir: qtc.ide_data_path
qbs.installSourceBase: "qtcreator"
prefix: "qtcreator/"
files: [
@@ -31,7 +32,7 @@ Product {
Group {
name: "3rdparty"
qbs.install: true
- qbs.installDir: project.ide_data_path
+ qbs.installDir: qtc.ide_data_path
qbs.installSourceBase: project.ide_source_tree + "/src/share/3rdparty"
prefix: project.ide_source_tree + "/src/share/3rdparty/"
files: [
@@ -42,7 +43,7 @@ Product {
Group {
name: "Conditional"
qbs.install: true
- qbs.installDir: project.ide_data_path + "/externaltools"
+ qbs.installDir: qtc.ide_data_path + "/externaltools"
prefix: project.ide_source_tree + "/src/share/qtcreator/externaltools/"
files: {
var list = [