summaryrefslogtreecommitdiffstats
path: root/mageia/dependencies/qt3/qt3-designer-sh
blob: d66cd4f93f87b9466c878f5c22dcc0b2698124de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Support script to properly set environments for Designer to run

LIBSUFFIX="lib"

if [ `uname -m` = "x86_64" ]; then
   LIBSUFFIX="lib64"
fi
   
export QTDIR=/usr/lib/qt3/
export LD_LIBRARY_PATH=$QTDIR/$LIBSUFFIX:$LD_LIBRARY_PATH
export PATH=$QTDIR/bin:$PATH

export MOC=$QTDIR/bin/moc
export UIC=$QTDIR/bin/uic
 
exec $QTDIR/bin/designer "$@"