summaryrefslogtreecommitdiffstats
path: root/src/src.pro
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-07-01 14:37:58 (GMT)
committeraxis <qt-info@nokia.com>2010-07-02 13:30:56 (GMT)
commitf9dfd989197826c88f4d40e232fbbb040250f56f (patch)
treead7bb958323ba5811784238702314b880711cea6 /src/src.pro
parenta4afd05595ee15e128a8c4fdb96713bb9aa16d81 (diff)
downloadQt-f9dfd989197826c88f4d40e232fbbb040250f56f.zip
Qt-f9dfd989197826c88f4d40e232fbbb040250f56f.tar.gz
Qt-f9dfd989197826c88f4d40e232fbbb040250f56f.tar.bz2
Added a top-level runonphone target for Qt and QtWebKit.
RevBy: Trust me
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/src.pro b/src/src.pro
index 0573c2d..9704716 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -187,4 +187,15 @@ debug.depends = $$EXTRA_DEBUG_TARGETS
release.depends = $$EXTRA_RELEASE_TARGETS
QMAKE_EXTRA_TARGETS += debug release
+# This gives us a top-level runonphone target, which installs Qt and optionally QtWebKit.
+contains(CONFIG, run_on_phone) {
+ src_runonphone_target.target = runonphone
+ src_runonphone_target.commands = $(MAKE) -C $$QT_BUILD_TREE/src/s60installs runonphone
+ src_runonphone_target.depends = first
+ contains(QT_CONFIG, webkit) {
+ src_runonphone_target.commands += && $(MAKE) -C $$QT_BUILD_TREE/src/3rdparty/webkit/WebCore runonphone
+ }
+ QMAKE_EXTRA_TARGETS += src_runonphone_target
+}
+
SUBDIRS += $$SRC_SUBDIRS