Commit e03fe193 authored by Simon Hausmann's avatar Simon Hausmann
Browse files

Clean up resource handling in tweetsearch examples


Use the modern RESOURCES syntax in the .pro file to replace the XML
file on disk.

Change-Id: I3ea61d8eddb7e72cc49e8466ce23d0b08033d1bc
Reviewed-by: default avatarPaul Wicking <paul.wicking@qt.io>
Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
Showing with 20 additions and 20 deletions
......@@ -2,7 +2,26 @@ TEMPLATE = app
QT += quick qml
SOURCES += main.cpp
RESOURCES += tweetsearch.qrc
content.prefix = /demos/tweetsearch
content.files = \
tweetsearch.qml \
content/FlipBar.qml \
content/LineInput.qml \
content/ListFooter.qml \
content/ListHeader.qml \
content/SearchDelegate.qml \
content/TweetDelegate.qml \
content/tweetsearch.mjs \
content/TweetsModel.qml \
content/resources/anonymous.png \
content/resources/bird-anim-sprites.png \
content/resources/icon-clear.png \
content/resources/icon-loading.png \
content/resources/icon-refresh.png \
content/resources/icon-search.png
RESOURCES += content
OTHER_FILES = tweetsearch.qml \
content/*.qml \
......
<RCC>
<qresource prefix="/demos/tweetsearch">
<file>tweetsearch.qml</file>
<file>content/FlipBar.qml</file>
<file>content/LineInput.qml</file>
<file>content/ListFooter.qml</file>
<file>content/ListHeader.qml</file>
<file>content/SearchDelegate.qml</file>
<file>content/TweetDelegate.qml</file>
<file>content/tweetsearch.mjs</file>
<file>content/TweetsModel.qml</file>
<file>content/resources/anonymous.png</file>
<file>content/resources/bird-anim-sprites.png</file>
<file>content/resources/icon-clear.png</file>
<file>content/resources/icon-loading.png</file>
<file>content/resources/icon-refresh.png</file>
<file>content/resources/icon-search.png</file>
</qresource>
</RCC>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment