summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2009-09-07 00:29:51 (GMT)
committeraxis <qt-info@nokia.com>2009-10-28 09:34:41 (GMT)
commit1609689ad1b9672fd4598aa30a7429b9d37bc3ca (patch)
tree3c9e8ab29fa485b36576cd346f1b6c82a15d7da0 /src
parentd0be442d96f780465eff0be3afbf543e5d3e82ab (diff)
downloadQt-1609689ad1b9672fd4598aa30a7429b9d37bc3ca.zip
Qt-1609689ad1b9672fd4598aa30a7429b9d37bc3ca.tar.gz
Qt-1609689ad1b9672fd4598aa30a7429b9d37bc3ca.tar.bz2
Linux support for platform specific commands in .pro files.
Signed-off-by: axis <qt-info@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/s60main/s60main.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s60main/s60main.pro b/src/s60main/s60main.pro
index cc3c547..d6b5ac8 100644
--- a/src/s60main/s60main.pro
+++ b/src/s60main/s60main.pro
@@ -40,8 +40,13 @@ symbian-abld: {
# abld build commands generated resources after the static library is built, and
# we have dependency to resource from static lib -> resources need to be generated
# explicitly before library
+win32: {
rsgFix2.commands = "-$(DEL_FILE) $(EPOCROOT)Epoc32\Data\z\resource\apps\s60main.rsc >NUL 2>&1"
rsgFix.commands = "-$(ABLD) resource $(PLATFORM) $(CFG) 2>NUL"
+} else {
+ rsgFix2.commands = "-$(DEL_FILE) $(EPOCROOT)epoc32/data/z/resource/apps/s60main.rsc >/dev/null 2>&1"
+ rsgFix.commands = "-$(ABLD) resource $(PLATFORM) $(CFG) 2>/dev/null"
+}
QMAKE_EXTRA_TARGETS += rsgFix rsgFix2
PRE_TARGETDEPS += rsgFix rsgFix2
}