[svn-upgrade] Integrating new upstream version, teleschorsch (0.1.0)
[debian/teleschorsch.git] / qteleschorsch.pro
index 6d9c0eca10be616b4e0e79298735ea4f9ba71698..068f05e636f9c7489174255823ce79703223c4a0 100644 (file)
@@ -7,4 +7,12 @@ TEMPLATE = app
 FORMS += maindialog.ui options.ui
 HEADERS += main.h options.h
 SOURCES += main.cpp options.cpp
+TRANSLATIONS = qteleschorsch_de.ts qteleschorsch_fr.ts
+RESOURCES = qteleschorsch.qrc
+PRE_TARGETDEPS = compiler_translation_make_all
 
+translation.output  = ${QMAKE_FILE_BASE}.qm
+translation.commands = lrelease ${QMAKE_FILE_NAME}
+translation.input = TRANSLATIONS
+translation.CONFIG += no_link
+QMAKE_EXTRA_COMPILERS += translation