Commit Graph

2 Commits

Author SHA1 Message Date
Sami Shalayel 32fc2c18e1 rss news demo: fix qmllint warnings
Fix the qmllint unqualified warnings and custom parsed
property changes.

Also update the documentation to refer to the correct files.

Pick-to: 6.8
Task-number: QTBUG-100100
Change-Id: If8a3c1aab146223d796652f1698744d4b2310323
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-09-20 13:16:07 +02:00
Sami Shalayel 4da064941b rss news demo: port to qt_add_qml_module
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>
2024-09-20 13:16:07 +02:00