summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/uic.prf
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-07-22 03:44:24 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-07-23 00:28:52 (GMT)
commit6238afebf272df392ae0527d127f245cfe19479b (patch)
treeebe1099fe64dbacf3382a1863fb76e11a99b626c /mkspecs/features/uic.prf
parentb0c5020c11913ad1de442ab0ef7e10dec225aec1 (diff)
downloadQt-6238afebf272df392ae0527d127f245cfe19479b.zip
Qt-6238afebf272df392ae0527d127f245cfe19479b.tar.gz
Qt-6238afebf272df392ae0527d127f245cfe19479b.tar.bz2
Fixed compile of Qt/symbian projects which set a custom MOC_DIR
or UI_HEADERS_DIR. This win32-specific path logic needs to get executed when the _host_ platform is win32, not the _target_. Acked-by: mstormo
Diffstat (limited to 'mkspecs/features/uic.prf')
-rw-r--r--mkspecs/features/uic.prf6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/features/uic.prf b/mkspecs/features/uic.prf
index d2985f9..385765b 100644
--- a/mkspecs/features/uic.prf
+++ b/mkspecs/features/uic.prf
@@ -1,11 +1,11 @@
isEmpty(QMAKE_UIC3) {
- win32:QMAKE_UIC3 = $$[QT_INSTALL_BINS]\uic3.exe
+ contains(QMAKE_HOST.os,Windows):QMAKE_UIC3 = $$[QT_INSTALL_BINS]\uic3.exe
else:QMAKE_UIC3 = $$[QT_INSTALL_BINS]/uic3
}
isEmpty(QMAKE_UIC) {
- win32:QMAKE_UIC = $$[QT_INSTALL_BINS]\uic.exe
+ contains(QMAKE_HOST.os,Windows):QMAKE_UIC = $$[QT_INSTALL_BINS]\uic.exe
else:QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
}
@@ -36,7 +36,7 @@ isEmpty(QMAKE_MOD_UIC):QMAKE_MOD_UIC = ui_
!isEmpty(FORMS)|!isEmpty(FORMS3) {
ui_dir_short = $$UI_HEADERS_DIR
- win32:ui_dir_short ~= s,^.:,/,
+ contains(QMAKE_HOST.os,Windows):ui_dir_short ~= s,^.:,/,
contains(ui_dir_short, ^[/\\\\].*):INCLUDEPATH += $$UI_HEADERS_DIR
else:INCLUDEPATH += $$OUT_PWD/$$UI_HEADERS_DIR
}