diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-02-24 13:31:20 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-03-10 15:17:57 +0100 |
commit | ea8f8e09007f4acb5530b1966bc5b2afab609064 (patch) | |
tree | 03b2c9ff8defd65a45daefe516ecc51501b528d7 /sync.profile | |
parent | c42d558dc9ff89d452546412ee88a16ae1e324e4 (diff) |
Introduce XmlListModel to QtDeclarative
XmlListModel was previously a part of QtXmlPatterns, which would not
be a part of Qt 6. The idea of this commit is to move a simplified
version of XmlListModel to QtDeclarative, so that it could be used
at least in the examples of different Qt modules.
Unlike the old implementation, this version does not have an XPath
support. This results in a reduced feature set - the user can't
build complicated XPath queries to populate model roles.
Now the user can select an xml element and, optionally, an
attribute, which will be used to extract the data.
[ChangeLog][XmlListModel] Introduce an XmlListModel QML model to
create read-only models from XML data.
This is a simplified version of a model from QtXmlPatterns, which
would no longer be a part of Qt 6. This model supports only simple
slash-separated paths and, optionally, one attribute for each
element.
Task-number: QTBUG-89817
Change-Id: I4186587dc1445dd981ac92b4ce104434236a32b9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'sync.profile')
-rw-r--r-- | sync.profile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sync.profile b/sync.profile index ce4809c12e..af3c268ef9 100644 --- a/sync.profile +++ b/sync.profile @@ -18,7 +18,8 @@ "QtLabsAnimation" => "$basedir/src/labs/animation", "QtLabsWavefrontMesh" => "$basedir/src/labs/wavefrontmesh", "QtLabsQmlModels" => "$basedir/src/labs/models", - "QtLabsSharedImage" => "$basedir/src/labs/sharedimage" + "QtLabsSharedImage" => "$basedir/src/labs/sharedimage", + "QtQmlXmlListModel" => "$basedir/src/qmlxmllistmodel" ); %inject_headers = ( "$basedir/src/qml" => [ "^qqmljsgrammar_p.h", "^qqmljsparser_p.h", "^qml_compile_hash_p.h" ], |