summaryrefslogtreecommitdiffstats
path: root/examples/demos/rssnews/rssnews.pro
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-02-24 17:56:35 +0100
committerIvan Solovev <ivan.solovev@qt.io>2021-03-16 04:23:24 +0100
commit49073d33f13ffd6a710fc711d083af6049a05c6d (patch)
treeaacc06d69e91624a58079a6d40c18a80fcda1041 /examples/demos/rssnews/rssnews.pro
parent4e2a436c064ab1d60e1fc607f1b8fe82e3bd7357 (diff)
Update examples to use XmlListModel from QtDeclarative
Now when the XmlListModel is a part of QtDeclarative, we can udpate the examples, which were using the model. This patch introduces the following changes: - Uses XmlListModel from QtDeclarative, removes the custom implementation from shared subdir. - Improves photoviewer and rssnew examples to get rid of some qml and C++ warnings and deprecation notifications. - Updates the documentation for photoviewer and rssnew examples to reflect the usage of the XmlListModel from QtDeclarative. - Enables documentation build for rssnews example Task-number: QTBUG-89817 Change-Id: If3736a18070dc19492058f7c184d5c9cfab74663 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/demos/rssnews/rssnews.pro')
-rw-r--r--examples/demos/rssnews/rssnews.pro9
1 files changed, 2 insertions, 7 deletions
diff --git a/examples/demos/rssnews/rssnews.pro b/examples/demos/rssnews/rssnews.pro
index a64ad9b99..c90789f33 100644
--- a/examples/demos/rssnews/rssnews.pro
+++ b/examples/demos/rssnews/rssnews.pro
@@ -1,13 +1,8 @@
TEMPLATE = app
-QT += quick qml xml
-CONFIG += qmltypes
+QT += quick qml
-INCLUDEPATH += ../shared
-
-HEADERS += ../shared/xmllistmodel.h
-SOURCES += main.cpp \
- ../shared/xmllistmodel.cpp
+SOURCES += main.cpp
QML_IMPORT_NAME = XmlListModel
QML_IMPORT_MAJOR_VERSION = 1