summaryrefslogtreecommitdiffstats
path: root/demos/declarative/minehunt/minehunt.pro
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-08-20 04:09:51 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-08-20 04:58:57 (GMT)
commite8141d3eff43e419f566449f42f9548ce54acf70 (patch)
tree068e31e2a13ca7cea0ed0faf1e808d98fb39473d /demos/declarative/minehunt/minehunt.pro
parenta48c48f6b37c70416c4fad8ff8fa87467c540b78 (diff)
downloadQt-e8141d3eff43e419f566449f42f9548ce54acf70.zip
Qt-e8141d3eff43e419f566449f42f9548ce54acf70.tar.gz
Qt-e8141d3eff43e419f566449f42f9548ce54acf70.tar.bz2
Fix minehunt demo for Symbian
Task-number: QTBUG-8927 Reviewed-by: Alan Alpert
Diffstat (limited to 'demos/declarative/minehunt/minehunt.pro')
-rw-r--r--demos/declarative/minehunt/minehunt.pro36
1 files changed, 10 insertions, 26 deletions
diff --git a/demos/declarative/minehunt/minehunt.pro b/demos/declarative/minehunt/minehunt.pro
index f85afeb..1d56013 100644
--- a/demos/declarative/minehunt/minehunt.pro
+++ b/demos/declarative/minehunt/minehunt.pro
@@ -1,38 +1,22 @@
-TEMPLATE = lib
-TARGET = qmlminehuntplugin
+TEMPLATE = app
+TARGET = minehunt
QT += declarative
CONFIG += qt plugin
-TARGET = $$qtLibraryTarget($$TARGET)
-DESTDIR = MinehuntCore
-
# Input
-SOURCES += minehunt.cpp
+HEADERS += minehunt.h
+SOURCES += main.cpp minehunt.cpp
-sources.files = minehunt.qml minehunt.pro
+sources.files = minehunt.qml minehunt.pro MinehuntCore
sources.path = $$[QT_INSTALL_DEMOS]/declarative/minehunt
+target.path = $$[QT_INSTALL_DEMOS]/declarative/minehunt
-target.path = $$[QT_INSTALL_DEMOS]/declarative/minehunt/MinehuntCore
-
-MinehuntCore_sources.files = \
- MinehuntCore/Explosion.qml \
- MinehuntCore/Tile.qml \
- MinehuntCore/pics \
- MinehuntCore/qmldir
-MinehuntCore_sources.path = $$[QT_INSTALL_DEMOS]/declarative/minehunt/MinehuntCore
-
-INSTALLS = sources MinehuntCore_sources target
+INSTALLS = sources target
symbian:{
TARGET.EPOCALLOWDLLDATA = 1
include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
- TARGET.CAPABILITY = NetworkServices ReadUserData
- importFiles.sources = MinehuntCore/qmlminehuntplugin.dll \
- MinehuntCore/Explosion.qml \
- MinehuntCore/pics \
- MinehuntCore/qmldir
- importFiles.path = MinehuntCore
- DEPLOYMENT = importFiles
+ qmlminehuntfiles.sources = MinehuntCore minehunt.qml
+ DEPLOYMENT = qmlminehuntfiles
}
-
-INSTALLS = sources MinehuntCore_sources target
+ \ No newline at end of file