diff options
author | Doris Verria <doris.verria@qt.io> | 2020-11-01 22:43:55 +0100 |
---|---|---|
committer | Doris Verria <doris.verria@qt.io> | 2020-11-05 12:20:36 +0100 |
commit | af4d9a658e2bc337856f71a2c9729204daa611a4 (patch) | |
tree | dfd359e2a09483ac15cfc58934cf1820c27f1b7b /examples/demos/photoviewer/main.qml | |
parent | 2216c740976ea7a552229f0d001f81fc73e59167 (diff) |
Port photoviewer's XmlListModel away from QtXmlPatterns
Remove the qtxmlpatterns dependendency of photoviewer demo and reimplement XmlListModel class to use QXmlStreamReader instead of XPath/XQuery to query Xml.
Fixes: QTBUG-88058
Change-Id: If21f3f361c8154bc56d94f37263801b33af8906f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/demos/photoviewer/main.qml')
-rw-r--r-- | examples/demos/photoviewer/main.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/demos/photoviewer/main.qml b/examples/demos/photoviewer/main.qml index 8ed77ad2a..2b9651402 100644 --- a/examples/demos/photoviewer/main.qml +++ b/examples/demos/photoviewer/main.qml @@ -48,9 +48,8 @@ ** ****************************************************************************/ -import QtQuick 2.2 -import QtQuick.Controls 1.1 -import QtQml.Models 2.1 +import QtQuick +import QtQuick.Controls import "PhotoViewerCore" ApplicationWindow { |