Enhance build process.
This commit is contained in:
parent
5d5564b4d1
commit
3fdb3b10bf
1 changed files with 5 additions and 2 deletions
|
@ -8,14 +8,12 @@
|
||||||
# Usage:
|
# Usage:
|
||||||
# a) DEBUG build for testing. (out of source build type)
|
# a) DEBUG build for testing. (out of source build type)
|
||||||
# cd ../build-dir
|
# cd ../build-dir
|
||||||
# lrelease ../rssguard-dir/rssguard.pro
|
|
||||||
# qmake ../rssguard-dir/rssguard.pro -r CONFIG+=debug PREFIX=./usr
|
# qmake ../rssguard-dir/rssguard.pro -r CONFIG+=debug PREFIX=./usr
|
||||||
# make
|
# make
|
||||||
# make install
|
# make install
|
||||||
#
|
#
|
||||||
# b) RELEASE build for production use. (out of source build type)
|
# b) RELEASE build for production use. (out of source build type)
|
||||||
# cd ../build-dir
|
# cd ../build-dir
|
||||||
# lrelease ../rssguard-dir/rssguard.pro
|
|
||||||
# qmake ../rssguard-dir/rssguard.pro -r CONFIG+=release PREFIX=./usr
|
# qmake ../rssguard-dir/rssguard.pro -r CONFIG+=release PREFIX=./usr
|
||||||
# make
|
# make
|
||||||
# make install
|
# make install
|
||||||
|
@ -607,6 +605,11 @@ lupdate.commands = lupdate $$shell_path($$PWD/rssguard.pro)
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += lupdate
|
QMAKE_EXTRA_TARGETS += lupdate
|
||||||
|
|
||||||
|
# Make sure QM translations are nerated.
|
||||||
|
qtPrepareTool(LRELEASE, lrelease) {
|
||||||
|
system($$LRELEASE_EXECUTABLE -compress $$shell_quote($$shell_path($$PWD/rssguard.pro)))
|
||||||
|
}
|
||||||
|
|
||||||
# Create new "make 7zip" target and "make zip" target.
|
# Create new "make 7zip" target and "make zip" target.
|
||||||
win32 {
|
win32 {
|
||||||
seven_zip.target = 7zip
|
seven_zip.target = 7zip
|
||||||
|
|
Loading…
Add table
Reference in a new issue