diff options
Diffstat (limited to 'installerfw.pri')
-rw-r--r-- | installerfw.pri | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/installerfw.pri b/installerfw.pri index e9d41a641..151fd1bde 100644 --- a/installerfw.pri +++ b/installerfw.pri @@ -3,6 +3,10 @@ } IFW_PRI_INCLUDED = 1 +defineReplace(toNativeSeparators) { + return($$replace(1, /, $$QMAKE_DIR_SEP)) +} + defineReplace(cleanPath) { win32:1 ~= s|\\\\|/|g contains(1, ^/.*):pfx = / @@ -27,6 +31,12 @@ IFW_SOURCE_TREE = $$PWD IFW_APP_PATH = $$IFW_BUILD_TREE/bin IFW_LIB_PATH = $$IFW_BUILD_TREE/lib +RCC = $$cleanPath($$toNativeSeparators($$[QT_INSTALL_BINS]/rcc)) +LRELEASE = $$cleanPath($$toNativeSeparators($$[QT_INSTALL_BINS]/lrelease)) + +win32:RCC = $${RCC}.exe +win32:LRELEASE = $${LRELEASE}.exe + INCLUDEPATH += \ $$IFW_SOURCE_TREE/src/libs/7zip \ $$IFW_SOURCE_TREE/src/libs/kdtools \ |