From 403e610e6b867dc840c4e78a344cac52bbe751c2 Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Tue, 23 Nov 2021 17:23:26 +0200 Subject: Add support for moving child components with Add new optional "moveChildren" attribute to element. Children of components declaring "moveChildren=true" attribute are calculated a value for an automatic tree name element. Multiple components in a single tree branch can declare a tree name, the order which the relocation happens is from leaf components to root components. Components may be moved under another tree name target. Components may be moved to an existing identifier part that does not have a component, for example in the following repository structure: rootA.childA rootB rootB.childB the "rootB" component can legally declare a "rootA" tree name. The tree names of components become static after installed. If a repository declares a new tree name for a component that is installed, it is only applied after updating in maintenance tool. Child components, which have an automatic tree name, are moved if the parent component is updated with a new tree name, however. Task-number: QTIFW-2380 Change-Id: I9c44a114d3c1248b7e2dd4f0b5cda0739af102f3 Reviewed-by: Katja Marttila --- src/libs/installer/constants.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libs/installer/constants.h') diff --git a/src/libs/installer/constants.h b/src/libs/installer/constants.h index 61efe98a8..1b7807e22 100644 --- a/src/libs/installer/constants.h +++ b/src/libs/installer/constants.h @@ -57,6 +57,7 @@ static const QLatin1String scReleaseDate("ReleaseDate"); static const QLatin1String scDescription("Description"); static const QLatin1String scDisplayName("DisplayName"); static const QLatin1String scTreeName("TreeName"); +static const QLatin1String scAutoTreeName("AutoTreeName"); static const QLatin1String scDependencies("Dependencies"); static const QLatin1String scAutoDependOn("AutoDependOn"); static const QLatin1String scNewComponent("NewComponent"); -- cgit v1.2.3