diff options
author | axis <qt-info@nokia.com> | 2010-07-01 16:37:58 +0200 |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-07-02 15:30:56 +0200 |
commit | f9dfd989197826c88f4d40e232fbbb040250f56f (patch) | |
tree | ad7bb958323ba5811784238702314b880711cea6 /src/src.pro | |
parent | a4afd05595ee15e128a8c4fdb96713bb9aa16d81 (diff) | |
download | qt4-tools-f9dfd989197826c88f4d40e232fbbb040250f56f.tar.gz |
Added a top-level runonphone target for Qt and QtWebKit.
RevBy: Trust me
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/src.pro b/src/src.pro index 0573c2d24e..9704716129 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 |