aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/tweetsearch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/demos/tweetsearch')
-rw-r--r--examples/quick/demos/tweetsearch/main.cpp2
-rw-r--r--examples/quick/demos/tweetsearch/tweetsearch.pro5
-rw-r--r--examples/quick/demos/tweetsearch/tweetsearch.qrc19
3 files changed, 22 insertions, 4 deletions
diff --git a/examples/quick/demos/tweetsearch/main.cpp b/examples/quick/demos/tweetsearch/main.cpp
index 8b1d59679c..6253bc2f6b 100644
--- a/examples/quick/demos/tweetsearch/main.cpp
+++ b/examples/quick/demos/tweetsearch/main.cpp
@@ -38,4 +38,4 @@
**
****************************************************************************/
#include "../../shared/shared.h"
-DECLARATIVE_EXAMPLE_MAIN(tweetsearch)
+DECLARATIVE_EXAMPLE_MAIN(demos/tweetsearch/tweetsearch)
diff --git a/examples/quick/demos/tweetsearch/tweetsearch.pro b/examples/quick/demos/tweetsearch/tweetsearch.pro
index 887c05af88..b063cc4106 100644
--- a/examples/quick/demos/tweetsearch/tweetsearch.pro
+++ b/examples/quick/demos/tweetsearch/tweetsearch.pro
@@ -2,8 +2,7 @@ TEMPLATE = app
QT += quick qml
SOURCES += main.cpp
+RESOURCES += tweetsearch.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/quick/demos/tweetsearch
-qml.files = tweetsearch.qml content
-qml.path = $$[QT_INSTALL_EXAMPLES]/quick/demos/tweetsearch
-INSTALLS += target qml
+INSTALLS += target
diff --git a/examples/quick/demos/tweetsearch/tweetsearch.qrc b/examples/quick/demos/tweetsearch/tweetsearch.qrc
new file mode 100644
index 0000000000..b23c3c5537
--- /dev/null
+++ b/examples/quick/demos/tweetsearch/tweetsearch.qrc
@@ -0,0 +1,19 @@
+<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.js</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>