lrelease(1) General Commands Manual lrelease(1)NAME
lrelease - generate Qt message files from Qt Linguist translation files
SYNOPSIS
lrelease [ options ] project-file
lrelease [ options ] ts-files
DESCRIPTION
This page documents the Qt Linguist Release tool for the Qt GUI toolkit. Lrelease reads a qmake/tmake project file (.pro file) and con-
verts the translation files (.ts files) specified in it into Qt message files (.qm files) used by the application to translate.
The .qm file format is a compact binary format that provides extremely fast lookups for translations and that is used by Qt.
OPTIONS -help Display the usage and exit.
-verbose
Explain what is being done.
-version
Display the version of lrelease and exit.
USAGE
Here is an example .pro file that can be given to lrelease:
HEADERS = funnydialog.h
wackywidget.h
SOURCES = funnydialog.cpp
main.cpp
wackywidget.cpp
FORMS = fancybox.ui
TRANSLATIONS = gnomovision_dk.ts
gnomovision_fi.ts
gnomovision_no.ts
gnomovision_se.ts
When running lrelease on this project file, the Qt message files gnomovision_dk.qm, gnomovision_fi.qm, gnomovision_no.qm and gnomovi-
sion_se.qm will be generated from gnomovision_dk.ts, gnomovision_fi.ts, gnomovision_no.ts and gnomovision_se.ts, respectively.
Lrelease can also be invoked with a list of .ts files to convert:
lrelease gnomovision_*.ts
SEE ALSO lupdate(1) and http://doc.trolltech.com/i18n.html
Trolltech AS 18 October 2001 lrelease(1)
Check Out this Related Man Page
lupdate(1) General Commands Manual lupdate(1)NAME
lupdate - update Qt Linguist translation files
SYNOPSIS
lupdate [ options ] project-file
lupdate [ options ] source-files -ts ts-files
DESCRIPTION
This page documents the Qt Linguist Update tool for the Qt GUI toolkit. Lupdate reads a qmake/tmake project file (.pro file), finds the
translatable strings in the specified source, header and interface files, and updates the translation files (.ts files) specified in it.
The translation files are given to the translator who uses Qt Linguist to read the files and insert the translations.
The .ts file format is a simple human-readable XML format that can be used with version control systems if required.
OPTIONS -help Display the usage and exit.
-noobsolete
Drop all obsolete strings.
-verbose
Explain what is being done.
-version
Display the version of lupdate and exit.
USAGE
Here is an example .pro file that can be given to lupdate:
HEADERS = funnydialog.h
wackywidget.h
SOURCES = funnydialog.cpp
main.cpp
wackywidget.cpp
FORMS = fancybox.ui
TRANSLATIONS = gnomovision_dk.ts
gnomovision_fi.ts
gnomovision_no.ts
gnomovision_se.ts
When running lupdate on this project file, the translatable strings in all the files listed in the HEADERS, SOURCES and FORMS entries will
be put in the translation files listed in the TRANSLATIONS entry. Previous translations will be reused as far as possible, and translated
strings that have vanished from the source files are marked obsolete.
Lupdate can also be invoked with a list of C++ source files, .ui files and .ts files:
lupdate *.cpp *.h *.ui -ts gnomovision_dk.ts
SEE ALSO lrelease(1) and http://doc.trolltech.com/i18n.html
Trolltech AS 18 October 2001 lupdate(1)
sir
i am trying to compile and execute cpp file in unix
the command cpp <filename > is not working
do you suggest any other command?
thanking you (5 Replies)
Hi ,
I want to list all files like *.C , *.h *.cpp in directory and subdirectory.
Take this each file (only file name should be taken) and pass it as argument to other unix command.
how do it sinlge command line.
Thanks (7 Replies)
I need to compress and tar a couple files in a directory, but I also want the original files unchanged, ie
if I compress a1.cpp , then a1.cpp becomes a1.cpp.z,
but what I want after running the compress utility is to have both
a1.cpp as it is and
a1.cpp.z
and then tar a1.cpp.z to an... (4 Replies)
Problem background:
gcc v 4.1
2 .cpp files, 2 .h files
Files:
main.cpp
a.cpp
a.h
b.h
Organization:
main.cpp includes a.h (because it calls a.cpp code)
a.cpp includes a.h
a.h includes b.h (because a class in a.h uses a b.h class)
There is no inheritance between a.h or b.h or any of... (1 Reply)
set 1
./abc@@/main/61
./def.cpp@@/main/13
./fgh.cpp@@/main/16
./ijk.cpp@@/main/12
./mln.cpp@@/main/9
./uvw.cpp@@/main/30
set2
./eww@@/main/61
./def.cpp@@/main/13
./xxx.cpp@@/main/26
./kkk.cpp@@/main/72
./qqq.cpp@@/main/19
./fgh.cpp@@/main/16
I have two sets with filenames in... (13 Replies)
Hi all,
I have 4 '.cpp' files and 1 header files:
Tools.cpp
Code1.cpp
Code2.cpp
Code3.cpp
and Tools.hh
Now all Code1.cpp, Code2.cpp, Code3.cpp
use functions stored in Tools.cpp.
Currently, what I do to compile all of them is using
this simple shell script: (1 Reply)
hi,
I have 2 directories (../src/dir_a and ../src/dir_b) each with its own .cpp files.
I have written the below foreach function, but the problem is that it is reading the .cpp files from both directories, dir_a and dir_b, to create libdir.a. Is there a way I can rewrite dirs (without... (2 Replies)
Hi,
I"m trying to debug one project in VS6 this is cpp ,with source/headers/resource files.
I need to start program from terminal with some parameters, e.g. c> feetcmd -a param1 -d param2, now this program going into the loop and the whole PC is frozen, I tried to do TASK_MANAGER/right... (6 Replies)
We have a code where we have a lot of constants declaration within a .h file - this .h files gets included to multiples .cpp files which is used to create multiples .a library - now these .a files are linked to one executable. For the output and profiler I understand that this way it results the... (1 Reply)
Good day to everyone.
Im new to pro*c and my boss gave me an assignment regarding oracle forms which uses User_Exit function encoded in pro*c.
I already compiled the enhanced pro*c code and generated .c file.
The problem was, I cannot make an executable file from the generated .c file.
... (6 Replies)
Hi,
I have some files as below.
Temp6001_5025.cpp
Temp6002_5025.cpp
Temp6003_5025.cpp
Temp6004_5025.cpp
Temp6005_5025.cpp
Temp6006_5025.cpp
Temp6007_5025.cpp
.
.
Temp6100_5025.cpp
i want to replace 5025 to 5026 in all files and the result should be
Temp6001_5026.cpp
.
.... (3 Replies)
Hi,
I see files with .hq extensition on my system, these are updating runtime in my project, however i am unaware what complete information it has, Is there a way I can convert these files to readable format. Some words are visible in file and makes sense too, It seems its the information on... (5 Replies)