aboutsummaryrefslogtreecommitdiffstats
path: root/static.pro
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2013-03-08 12:11:36 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-03-08 14:59:36 +0100
commit034e3323d3e244ca443ddc0fd78c98d23437cd0d (patch)
treec2c5d85a100a8b47292d0a1e46754b763cfa22f7 /static.pro
parentb23b91faa6909114adb3581fb079cd8fc771391e (diff)
Fix compile with Qt5 on Windows
Change-Id: I9c75cb17ab96b0ccc2f7232586bb6f31bb41b935 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'static.pro')
-rw-r--r--static.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/static.pro b/static.pro
index bba40c0d3..36b777dda 100644
--- a/static.pro
+++ b/static.pro
@@ -22,7 +22,11 @@ isEmpty(vcproj) {
}
DATA_DIRS = share/qbs/imports share/qbs/modules
-win32:DATA_FILES = bin/ibmsvc.xml bin/ibqbs.bat
+win32:greaterThan(QT_MAJOR_VERSION, 4) {
+ DATA_FILES = $$absolute_path(bin/ibmsvc.xml) $$absolute_path(bin/ibqbs.bat)
+} else {
+ DATA_FILES = bin/ibmsvc.xml bin/ibqbs.bat
+}
defineReplace(cleanPath) {
win32:1 ~= s|\\\\|/|g