From 0704427510fa18d90170cf13d1fd81e446a1d3b0 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Thu, 2 Aug 2012 11:13:00 +0200 Subject: Mageia: initial QT3 version for TDE 3.5.13 --- mageia/dependencies/qt3/qt3-designer-sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mageia/dependencies/qt3/qt3-designer-sh (limited to 'mageia/dependencies/qt3/qt3-designer-sh') diff --git a/mageia/dependencies/qt3/qt3-designer-sh b/mageia/dependencies/qt3/qt3-designer-sh new file mode 100644 index 000000000..d66cd4f93 --- /dev/null +++ b/mageia/dependencies/qt3/qt3-designer-sh @@ -0,0 +1,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 "$@" -- cgit v1.2.1