summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-02-23 14:27:54 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2010-02-23 14:27:54 (GMT)
commita0744bb3763c2bf565ca68305f0783b0de8063b2 (patch)
tree2edcc8bb31986a88462a850c21e078da7b0d09ec /examples/declarative
parent44b52bf289a651be36e0977294ffa3db1df6eefe (diff)
downloadQt-a0744bb3763c2bf565ca68305f0783b0de8063b2.zip
Qt-a0744bb3763c2bf565ca68305f0783b0de8063b2.tar.gz
Qt-a0744bb3763c2bf565ca68305f0783b0de8063b2.tar.bz2
Fixed the install rules for the QML plugins example.
Install the QML components in $[QT_INSTALL_EXAMPLES]/declarative/plugins/com/nokia/TimeExample and the source files in $[QT_INSTALL_EXAMPLES]/declarative/plugins/
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/plugins/plugins.pro25
1 files changed, 14 insertions, 11 deletions
diff --git a/examples/declarative/plugins/plugins.pro b/examples/declarative/plugins/plugins.pro
index d932b01..c9c9f7e 100644
--- a/examples/declarative/plugins/plugins.pro
+++ b/examples/declarative/plugins/plugins.pro
@@ -3,22 +3,25 @@ DESTDIR = com/nokia/TimeExample
TARGET = qtimeexampleqmlplugin
CONFIG += qt plugin
QT += declarative
+VERSION = 1.0.0
SOURCES += plugin.cpp
-target.path += $$[QT_INSTALL_PLUGINS]/qmlmodules
+qmlsources.files += \
+ com/nokia/TimeExample/qmldir \
+ com/nokia/TimeExample/center.png \
+ com/nokia/TimeExample/clock.png \
+ com/nokia/TimeExample/Clock.qml \
+ com/nokia/TimeExample/hour.png \
+ com/nokia/TimeExample/minute.png
-sources.files += \
- $$PWD/com/nokia/TimeExample/qmldir \
- $$PWD/com/nokia/TimeExample/center.png \
- $$PWD/com/nokia/TimeExample/clock.png \
- $$PWD/com/nokia/TimeExample/Clock.qml \
- $$PWD/com/nokia/TimeExample/hour.png \
- $$PWD/com/nokia/TimeExample/minute.png
+qmlsources.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins/com/nokia/TimeExample
-sources.path += $$[QT_INSTALL_DATA]/qml/com/nokia/TimeExample
+sources.files += plugins.pro plugin.cpp plugins.qml
+sources.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins
-INSTALLS += target sources
+target.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins/com/nokia/TimeExample
-VERSION=1.0.0
+INSTALLS += qmlsources sources target
+symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)