source: SMSSender/smssender-gui.pri @ 419:0bafa60e1b64

Last change on this file since 419:0bafa60e1b64 was 419:0bafa60e1b64, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Fixes PRE_TARGETDEPS entries for windows.
  • Excapes '\' in project files on windows.
File size: 749 bytes
Line 
1# Checks for any FRONTEND_xxx definitions.
2definedFrontends = $$find(DEFINES, FRONTEND_.*)
3!isEmpty(definedFrontends) {
4    error("The following frontends are defined but must not: " $$definedFrontends)
5}
6
7DEFINES += FRONTEND_GUI
8
9QT =
10
11include(smssender.pri)
12
13
14# Automatically compile the .ts files into .qm
15isEmpty(QMAKE_LRELEASE) {
16    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
17    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
18}
19
20updateqm.input = TRANSLATIONS
21updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
22updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
23updateqm.CONFIG += no_link
24
25QMAKE_EXTRA_COMPILERS += updateqm
26PRE_TARGETDEPS += compiler_updateqm_make_all
Note: See TracBrowser for help on using the repository browser.