diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2014-10-31 10:18:57 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-10-31 16:10:10 +0100 |
commit | 4b736ac6bd882d0d09ecb0de31faa03b089fe2dc (patch) | |
tree | 5d7c67514273b32ac9fca6f28b286f818ad176f9 /static.pro | |
parent | 4e417fb5bc368c3e19f7a9df52ef36b60cff3d22 (diff) |
remove more Qt4 legacy from project files
This amends commit 7c82e9f3.
Change-Id: Ie01db1f28856fa16edee67aaf033c7150ecb197c
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'static.pro')
-rw-r--r-- | static.pro | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/static.pro b/static.pro index 34548c0c0..c462dfd2a 100644 --- a/static.pro +++ b/static.pro @@ -38,23 +38,9 @@ defineReplace(cleanPath) { } # For use in custom compilers which just copy files -isEqual(QT_MAJOR_VERSION, 5) { defineReplace(stripSrcDir) { return($$relative_path($$absolute_path($$1, $$OUT_PWD), $$_PRO_FILE_PWD_)) } -} else { # qt5 -win32:i_flag = i -defineReplace(stripSrcDir) { - win32 { - !contains(1, ^.:.*):1 = $$OUT_PWD/$$1 - } else { - !contains(1, ^/.*):1 = $$OUT_PWD/$$1 - } - out = $$cleanPath($$1) - out ~= s|^$$re_escape($$_PRO_FILE_PWD_/)||$$i_flag - return($$out) -} -} # qt5 for(data_dir, DATA_DIRS) { files = $$files($$PWD/$$data_dir/*, true) |