QGIS/create_qm_files.sh
gsherman b28023080a 1. First pass at defining PostgreSQL layers using a where clause in the data
provider. UI may need some work. When adding a PG layer, double- click on the
layer name to define the where clause. Do not include the where keyword
2. Added $QTDIR/bin to the path for lrelease and lupdate in the i18n
scripts


git-svn-id: http://svn.osgeo.org/qgis/trunk@1740 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-10 06:45:34 +00:00

14 lines
468 B
Bash
Executable File

#!/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