summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/uic.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/uic.prf')
-rw-r--r--mkspecs/features/uic.prf5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/uic.prf b/mkspecs/features/uic.prf
index 885fad7..f03d623 100644
--- a/mkspecs/features/uic.prf
+++ b/mkspecs/features/uic.prf
@@ -34,7 +34,10 @@ isEmpty(QMAKE_MOD_UIC):QMAKE_MOD_UIC = ui_
INCREDIBUILD_XGE += uic
}
-INCLUDEPATH += $$UI_HEADERS_DIR
+ui_dir_short = $$UI_HEADERS_DIR
+win32:ui_dir_short ~= s,^.:,/,
+contains(ui_dir_short, ^[/\\].*):INCLUDEPATH += $$UI_HEADERS_DIR
+else:INCLUDEPATH += $$OUT_PWD/$$UI_HEADERS_DIR
uic3 {
isEmpty(FORMS3) {