diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-03-22 13:01:52 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-03-22 16:20:52 +0100 |
commit | c8850489678471038ea73a748f41d7ad77625aec (patch) | |
tree | 575f06dde76e2f6cea2aeb22a2beca36354851e6 /installerfw.pri | |
parent | 497f8431ea151853526bf377f02fd42cda970944 (diff) |
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 <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
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 \ |