blob: 9192a90a7892519c31a43558be6f7684321d6389 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- qpxtool-0.7.0/gui/updateqm.pri.orig 2010-01-25 19:44:45.061640334 +0100
+++ qpxtool-0.7.0/gui/updateqm.pri 2010-01-25 19:40:03.711640850 +0100
@@ -0,0 +1,19 @@
+isEmpty(QMAKE_LRELEASE) {
+
+ win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
+
+ else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
+
+}
+
+updateqm.input = TRANSLATIONS
+
+updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
+
+updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
+
+updateqm.CONFIG += no_link
+
+QMAKE_EXTRA_COMPILERS += updateqm
+
+PRE_TARGETDEPS += compiler_updateqm_make_all
--- qpxtool-0.7.0/gui/qpxtool.pro.orig 2010-01-25 19:46:45.011641756 +0100
+++ qpxtool-0.7.0/gui/qpxtool.pro 2010-01-25 19:47:08.397640627 +0100
@@ -2,6 +2,8 @@
# Automatically generated by qmake (2.01a) ?? ???. 24 12:26:02 2009
######################################################################
+include( updateqm.pri )
+
MOC_DIR=moc
OBJECTS_DIR=obj
QT+=network
|