From: nds Date: Tue, 2 Oct 2007 07:49:53 +0000 (+0000) Subject: Correction for auto creation of *.qm files from *.ts. X-Git-Tag: TG_Saint_Valentine-Day~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65716be9309f6317087c6416bf3f4d12cf4b68ba;p=modules%2Fgui.git Correction for auto creation of *.qm files from *.ts. --- diff --git a/src/TableViewer/TableViewer.pro b/src/TableViewer/TableViewer.pro index 461bc659b..c02c754b9 100644 --- a/src/TableViewer/TableViewer.pro +++ b/src/TableViewer/TableViewer.pro @@ -24,12 +24,26 @@ SOURCES = *.cxx TRANSLATIONS = resources/TableViewer_images.ts \ resources/TableViewer_msg_en.ts +unix:GUIResources = ../../resources +win32:GUIResources = ..\\..\\resources + +lrelease.name = LRELASE ${QMAKE_FILE_IN} +unix:lrelease.commands = $(QTDIR)/$(CONFIG_ID)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm +win32:lrelease.commands = $(QTDIR)\\$(CONFIG_ID)\\bin\\lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm +unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm +win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm +lrelease.input = TRANSLATIONS +unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm +win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm +lrelease.CONFIG += no_link target_predeps +QMAKE_EXTRA_COMPILERS += lrelease + ICONS = resources/*.png includes.files = $$HEADERS includes.path = ../../include -resources.files = $$ICONS resources/*.qm +resources.files = $$ICONS resources.path = ../../resources INSTALLS += includes resources