QGIS/create_qm_files.sh

14 lines
468 B
Bash
Raw Normal View History

#!/bin/sh
# create_qm_files.sh,v 1.3 2004/07/10 06:45:34 gsherman Exp
# Create the .qm files from the translation files
# 1. create a clean Qt .pro file for the project
# 2. run lrelease using the .pro file from step 1
# 3. remove the .pro
echo Creating qmake project file
# force the output name to be qgis_ts.pro
$QTDIR/bin/qmake -project -o qgis_ts.pro
echo Creating qm files
$QTDIR/bin/lrelease -verbose qgis_ts.pro
echo Removing qmake project file
rm qgis_ts.pro