summaryrefslogtreecommitdiffstats
path: root/mageia/dependencies/qt3/qt3-designer-sh
diff options
context:
space:
mode:
Diffstat (limited to 'mageia/dependencies/qt3/qt3-designer-sh')
-rw-r--r--mageia/dependencies/qt3/qt3-designer-sh17
1 files changed, 17 insertions, 0 deletions
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 "$@"