|
|
@ -7,7 +7,7 @@ Usage: ./configure [OPTION]...
|
|
|
|
This script creates necessary configuration files to build/install.
|
|
|
|
This script creates necessary configuration files to build/install.
|
|
|
|
|
|
|
|
|
|
|
|
Main options:
|
|
|
|
Main options:
|
|
|
|
--qtdir=[path] Directory where Qt is installed.
|
|
|
|
--tqtdir=[path] Directory where TQt is installed.
|
|
|
|
--help This help text.
|
|
|
|
--help This help text.
|
|
|
|
|
|
|
|
|
|
|
|
Dependency options:
|
|
|
|
Dependency options:
|
|
|
@ -19,8 +19,8 @@ EOT
|
|
|
|
|
|
|
|
|
|
|
|
while [ $# -gt 0 ]; do
|
|
|
|
while [ $# -gt 0 ]; do
|
|
|
|
case "$1" in
|
|
|
|
case "$1" in
|
|
|
|
--qtdir=*)
|
|
|
|
--tqtdir=*)
|
|
|
|
TQTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
|
|
|
|
TQTDIR=`expr "${1}" : "--tqtdir=\(.*\)"`
|
|
|
|
shift
|
|
|
|
shift
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ printf "Verifying TQt 3.x Multithreaded (MT) build environment ... "
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$TQTDIR" ]; then
|
|
|
|
if [ -z "$TQTDIR" ]; then
|
|
|
|
if [ "$QC_DEBUG" = "Y" ]; then
|
|
|
|
if [ "$QC_DEBUG" = "Y" ]; then
|
|
|
|
echo \$TQTDIR not set... trying to find Qt manually
|
|
|
|
echo \$TQTDIR not set... trying to find TQt manually
|
|
|
|
fi
|
|
|
|
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
|
|
|
|
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
|
|
|
|
if [ -d "$p/mkspecs" ]; then
|
|
|
@ -69,11 +69,11 @@ if [ -z "$TQTDIR" ]; then
|
|
|
|
if [ -z "$TQTDIR" ]; then
|
|
|
|
if [ -z "$TQTDIR" ]; then
|
|
|
|
echo fail
|
|
|
|
echo fail
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo Unable to find Qt 'mkspecs'. Please set TQTDIR
|
|
|
|
echo Unable to find TQt 'mkspecs'. Please set TQTDIR
|
|
|
|
echo manually. Perhaps you need to install Qt 3
|
|
|
|
echo manually. Perhaps you need to install TQt 3
|
|
|
|
echo development utilities. You may download them either
|
|
|
|
echo development utilities. You may download them
|
|
|
|
echo from the vendor of your operating system or from
|
|
|
|
echo the repos of your distribution or from
|
|
|
|
echo www.trolltech.com
|
|
|
|
echo https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/.
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
exit 1;
|
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|