summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--projects.pro15
-rw-r--r--src/s60main/s60main.pro5
2 files changed, 18 insertions, 2 deletions
diff --git a/projects.pro b/projects.pro
index 2a6a956..10cff2a 100644
--- a/projects.pro
+++ b/projects.pro
@@ -107,7 +107,8 @@ win32 {
}
symbian {
confclean.depends += distclean
- confclean.commands += \
+ win32 {
+ confclean.commands += \
(cd src\tools\moc && $(MAKE) distclean) $$escape_expand(\n\t) \
(cd src\tools\rcc && $(MAKE) distclean) $$escape_expand(\n\t) \
(cd src\tools\uic && $(MAKE) distclean) $$escape_expand(\n\t) \
@@ -116,7 +117,17 @@ symbian {
-$(DEL_FILE) mkspecs\qconfig.pri $$escape_expand(\n\t) \
-$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \
(cd qmake && $(MAKE) distclean)
-
+ } else {
+ confclean.commands += \
+ (cd src/tools/moc && $(MAKE) distclean) $$escape_expand(\n\t) \
+ (cd src/tools/rcc && $(MAKE) distclean) $$escape_expand(\n\t) \
+ (cd src/tools/uic && $(MAKE) distclean) $$escape_expand(\n\t) \
+ -$(DEL_FILE) src/corelib/global/qconfig.h $$escape_expand(\n\t) \
+ -$(DEL_FILE) src/corelib/global/qconfig.cpp $$escape_expand(\n\t) \
+ -$(DEL_FILE) mkspecs/qconfig.pri $$escape_expand(\n\t) \
+ -$(DEL_FILE) .qmake.cache $$escape_expand(\n\t) \
+ (cd qmake && $(MAKE) distclean)
+ }
}
QMAKE_EXTRA_TARGETS += confclean
qmakeclean.commands += (cd qmake && $(MAKE) clean)
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
}