From c8850489678471038ea73a748f41d7ad77625aec Mon Sep 17 00:00:00 2001 From: kh1 Date: Thu, 22 Mar 2012 13:01:52 +0100 Subject: Build and compile the resource on the fly. Copy over the qt qm files. Run lupdate on our ts files. Run rcc and generate the qrc_*.cpp file used to compile. Change-Id: Ib726dde084643848d5edab700476b133326c54d7 Reviewed-by: Niels Weber Reviewed-by: Tim Jenssen --- installerfw.pri | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'installerfw.pri') 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 \ -- cgit v1.2.3