|
|
|
@ -8,7 +8,7 @@ This script creates necessary configuration files to build/install.
|
|
|
|
|
|
|
|
|
|
Main options:
|
|
|
|
|
--prefix=[path] Base path for build/install. Default: /usr/local
|
|
|
|
|
--qtdir=[path] Directory where Qt is installed.
|
|
|
|
|
--tqtdir=[path] Directory where TQt is installed.
|
|
|
|
|
--help This help text.
|
|
|
|
|
|
|
|
|
|
EOT
|
|
|
|
@ -21,8 +21,8 @@ while [ $# -gt 0 ]; do
|
|
|
|
|
shift
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
--qtdir=*)
|
|
|
|
|
QTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
|
|
|
|
|
--tqtdir=*)
|
|
|
|
|
TQTDIR=`expr "${1}" : "--tqtdir=\(.*\)"`
|
|
|
|
|
shift
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
@ -50,7 +50,7 @@ printf "Verifying TQt 3.x Multithreaded (MT) build environment ... "
|
|
|
|
|
|
|
|
|
|
if [ -z "$QTDIR" ]; then
|
|
|
|
|
if [ "$QC_DEBUG" = "Y" ]; then
|
|
|
|
|
echo \$QTDIR not set... trying to find Qt manually
|
|
|
|
|
echo \$TQTDIR not set... trying to find TQt manually
|
|
|
|
|
fi
|
|
|
|
|
for p in /usr/lib/tqt /usr/share/tqt /usr/share/tqt3 /usr/local/lib/tqt /usr/local/share/tqt /usr/lib/tqt3 /usr/local/lib/tqt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/tqt /usr/local/lib64/tqt /usr/lib64/tqt3 /usr/local/lib64/tqt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do
|
|
|
|
|
if [ -d "$p/mkspecs" ]; then
|
|
|
|
@ -61,11 +61,11 @@ if [ -z "$QTDIR" ]; then
|
|
|
|
|
if [ -z "$QTDIR" ]; then
|
|
|
|
|
echo fail
|
|
|
|
|
echo
|
|
|
|
|
echo Unable to find Qt 'mkspecs'. Please set QTDIR
|
|
|
|
|
echo manually. Perhaps you need to install Qt 3
|
|
|
|
|
echo development utilities. You may download them either
|
|
|
|
|
echo from the vendor of your operating system or from
|
|
|
|
|
echo www.trolltech.com
|
|
|
|
|
echo Unable to find TQt 'mkspecs'. Please set TQTDIR
|
|
|
|
|
echo manually. Perhaps you need to install TQt 3
|
|
|
|
|
echo development utilities. You may download them
|
|
|
|
|
echo from the the repos of your distribution or from
|
|
|
|
|
echo https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/.
|
|
|
|
|
echo
|
|
|
|
|
exit 1;
|
|
|
|
|
fi
|
|
|
|
|