summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-04-20 07:23:43 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-04-20 07:23:43 (GMT)
commit67926b8e4d9e7463597ef113944d78ca326fd9ae (patch)
treee24fa54e245a8c3b27cd1f740aaf5d296e05621b /mkspecs/features
parent2c762f3b8b284a7c6dc0c499b7052013bad5b707 (diff)
parent10194aafd10824fe1919aa44083224e8bea442ca (diff)
downloadQt-67926b8e4d9e7463597ef113944d78ca326fd9ae.zip
Qt-67926b8e4d9e7463597ef113944d78ca326fd9ae.tar.gz
Qt-67926b8e4d9e7463597ef113944d78ca326fd9ae.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt
Conflicts: src/gui/itemviews/qheaderview_p.h
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/moc.prf7
1 files changed, 6 insertions, 1 deletions
diff --git a/mkspecs/features/moc.prf b/mkspecs/features/moc.prf
index 7c4ff28..60508c8 100644
--- a/mkspecs/features/moc.prf
+++ b/mkspecs/features/moc.prf
@@ -47,7 +47,12 @@ win32:count($$list($$INCPATH), 40, >) {
defineReplace(mocCmd) {
!isEmpty(WIN_INCLUDETEMP) {
- return($$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$1 -o $$2)
+ RET =
+ if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) {
+ RET += $$mocinclude.commands
+ }
+ RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$1 -o $$2
+ return($$RET)
}
return($$QMAKE_MOC $(DEFINES) $(INCPATH) $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$1 -o $$2)
}