blob: 70ccbc2faf60f09715b4b0d267f029def04f032b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# Environment variables for the Qt package.
#
# It's best to use the generic directory to avoid
# compiling in a version-containing path:
if [ -d /usr/lib@LIBDIRSUFFIX@/qt6 ]; then
QT6DIR=/usr/lib@LIBDIRSUFFIX@/qt6
else
# Find the newest Qt directory and set $QT6DIR to that:
for qtd in /usr/lib@LIBDIRSUFFIX@/qt6-* ; do
if [ -d $qtd ]; then
QT6DIR=$qtd
fi
done
fi
PATH="$PATH:$QT6DIR/bin"
export QT6DIR
|