Make the rssnews demo use qt_add_qml_module instead of qt_add_resources.
This populates build/qtdoc/examples/demos/rssnewsdemo/RssNewsModule
instead of build/qtdoc/examples/demos/rssnewsdemo/content because
content is a bad QML module name.
Use qt_standard_project_setup().
Use QQuickView::loadFromModule() in the main.cpp and add a qmldir in the
.qrc to make loadFromModule() work when using qmake.
Pick-to: 6.8
Task-number: QTBUG-100100
Change-Id: I060b3817a1c97efb731d7fd8814f421c9ee14168
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reuse the XmlListModel from the shared folder in rssnews and remove dependency from qtxmlpatterns.
Fixes: QTBUG-88059
Change-Id: I9171805aa928d623b3d9953dc109a69729f509b8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
These demos use several modules and moving them allows to use for
example Qt Quick Controls 2 in them.
The shared directory should be removed and the examples made
self-contained.
Change-Id: I5dc667d22388651894d7d145b65752bc5c5cf6cf
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>