From 303d245db9030b2e04058f6901f0f6fa37281cd3 Mon Sep 17 00:00:00 2001 From: Takumi Asaki Date: Tue, 28 Jan 2014 13:32:02 +0900 Subject: Fix: Path handling in project files Because of cleanPath() converts native separators to '/', call toNativeSeparators() after cleanPath(). Due to warning message from "if (exists(filePath))" on Windows, if() around the exists() are removed. Change-Id: I412fe83f13365c8eec00e119270d07ce7f72297d Reviewed-by: Oswald Buddenhagen --- installerfw.pri | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'installerfw.pri') diff --git a/installerfw.pri b/installerfw.pri index ffd49f1f6..bd84092a3 100644 --- a/installerfw.pri +++ b/installerfw.pri @@ -36,9 +36,9 @@ 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)) -QMAKE_BINARY = $$cleanPath($$toNativeSeparators($$[QT_INSTALL_BINS]/qmake)) +RCC = $$toNativeSeparators($$cleanPath($$[QT_INSTALL_BINS]/rcc)) +LRELEASE = $$toNativeSeparators($$cleanPath($$[QT_INSTALL_BINS]/lrelease)) +QMAKE_BINARY = $$toNativeSeparators($$cleanPath($$[QT_INSTALL_BINS]/qmake)) win32:RCC = $${RCC}.exe win32:LRELEASE = $${LRELEASE}.exe -- cgit v1.2.3