diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-03-27 12:37:39 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-27 14:07:32 +0100 |
commit | 6bbe339559aa7dc0b79addd1777bed91f3da604f (patch) | |
tree | bd4dba8ef2315ee457e201711b225fac44ffbc6c /translations/translations.pro | |
parent | bd058815d299ee5ea27519ce71c859c977380118 (diff) | |
download | qttranslations-6bbe339559aa7dc0b79addd1777bed91f3da604f.tar.gz |
remove horrendeous hacks
there is no need to make this module "buildable" with visual studio, so
we just use the partly implemented aux TEMPLATE.
Change-Id: Ie7989c674ad6f854764ac2617123bb1150695148
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'translations/translations.pro')
-rw-r--r-- | translations/translations.pro | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/translations/translations.pro b/translations/translations.pro index 4ffd86b..164a6f3 100644 --- a/translations/translations.pro +++ b/translations/translations.pro @@ -1,3 +1,5 @@ +TEMPLATE = aux + TRANSLATIONS = $$files(*.ts) qtPrepareTool(LRELEASE, lrelease) @@ -89,15 +91,6 @@ ts.commands = \ QMAKE_EXTRA_TARGETS += $$unique(TS_TARGETS) ts commit-ts check-ts -TEMPLATE = app -TARGET = qm_phony_target -CONFIG -= qt separate_debug_info gdb_dwarf_index sis_targets -CONFIG += no_icon -QT = -LIBS = - -contains(TEMPLATE_PREFIX, vc):vcproj = 1 - updateqm.input = TRANSLATIONS updateqm.output = ${QMAKE_FILE_BASE}.qm updateqm.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} @@ -106,22 +99,6 @@ updateqm.name = LRELEASE ${QMAKE_FILE_IN} updateqm.CONFIG += no_link target_predeps QMAKE_EXTRA_COMPILERS += updateqm -isEmpty(vcproj) { - QMAKE_LINK = @: IGNORE THIS LINE - OBJECTS_DIR = - win32:CONFIG -= embed_manifest_exe -} else { - CONFIG += console - PHONY_DEPS = . - phony_src.input = PHONY_DEPS - phony_src.output = phony.c - phony_src.variable_out = GENERATED_SOURCES - phony_src.commands = echo int main() { return 0; } > phony.c - phony_src.name = CREATE phony.c - phony_src.CONFIG += combine - QMAKE_EXTRA_COMPILERS += phony_src -} - translations.path = $$[QT_INSTALL_TRANSLATIONS] translations.files = $$TRANSLATIONS translations.files ~= s,\\.ts$,.qm,g |