summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/constants.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2019-05-28 12:50:13 +0300
committerKatja Marttila <katja.marttila@qt.io>2021-02-11 09:41:19 +0200
commit4abb9cd9b360278f5c8984a9fd2e62677e7c940c (patch)
tree5b7721b82eefe103dc9f148f4323ef31de28731b /src/libs/installer/constants.h
parent5aee36b74eb1d7613ea0108971e8a22f8dca8101 (diff)
Add possibility to move component in component tree
Setting <TreeName> -tag to component.xml will overwrite the default location of component in installer's tree view. This way we can define the component location without a complete repo build. Updates.xml can be directly modified by adding <TreeName> -tag for easy relocation of components. TreeName must be an unique name - it cannot conflict with existing tree name or name. Task-number: QTIFW-594 Change-Id: Ie69f90f1303d932369d566d0d7b4bc0e354505c6 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs/installer/constants.h')
-rw-r--r--src/libs/installer/constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/constants.h b/src/libs/installer/constants.h
index feee73fad..42b14ce63 100644
--- a/src/libs/installer/constants.h
+++ b/src/libs/installer/constants.h
@@ -55,6 +55,7 @@ static const QLatin1String scTargetDir("TargetDir");
static const QLatin1String scReleaseDate("ReleaseDate");
static const QLatin1String scDescription("Description");
static const QLatin1String scDisplayName("DisplayName");
+static const QLatin1String scTreeName("TreeName");
static const QLatin1String scDependencies("Dependencies");
static const QLatin1String scAutoDependOn("AutoDependOn");
static const QLatin1String scNewComponent("NewComponent");