graphHistoryTool.exe is inside this directory, the start.bat batch file can be used to start
it.
To deploy the application for the end user, copy the following libraries from the
shared_libraries directory into the graph_history_tool directory:
·
Qt5Core.dll
·
Qt5Gui.dll
·
Qt5Widgets.dll
·
libgcc_s_dw2-1.dll
·
libstdc++-6.dll
After that the graph_history_tool directory can be zipped and sent to customers. The
start.bat is then not needed anymore and the graphHistoryTool.exe can be started
directly.
The Graph History Tool comes with two language translations (English and German). If
other languages are needed, there is a way to add them:
The language translation is done with the Qt Linguist application (see here). If you want
to create a translation on your own, you have to install Qt on your PC (download here,
make sure to install the Linguist application).
After installation open the Linguist application and open one of the existing translation
files (the files with .ts suffix, e.g. graphhistorytool_English_en.ts). Now go to File -> Save
As and choose a new name for the translation file (to show the language in the Settings
menu of the Graph History Tool the language file needs to be called
whatever_<NATIVE_LANGUGAGE_NAME>_<LANGUAGE_ACRONYM>.ts, e.g. for
spanish: graphhistorytool_Spanish_es.ts). After that go to Edit -> Settings. In this dialog
the target language can be chosen. Chose the language and Country/Region then press
OK and save the file.
Now you can open all translation files and start the translation process for the new
language.
When the translation is finished, a binary translation file has to be created from the ts file.
Sadly Qt Linguist does not provide a GUI tool for this operation so you have to do this on
the command line: Open a command line and navigate to the directory where the .ts files
are stored. Now type lrelease *.ts. This will create the binary translation files (suffix .qm).
Place all .qm files in the application directory. When you open the Graph History Tool
now, the new application should be available under Settings -> Language.
If lrelease.exe is not in your search path, you have to call it with the complete path, e.g. C:
\workspace\Qt5.4\5.4\mingw491_32\bin\lrelease.exe *.ts
6.4.2