sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: George Sherwood <pilot AT beernabeer.com>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Qt 4.1.1 Update
- Date: Mon, 6 Mar 2006 18:05:52 -0500
On Mon, 6 Mar 2006 17:58:20 -0500
George Sherwood <pilot AT beernabeer.com> wrote:
>
> I am not sure that will always work for qt4. From what I have read
> trolltech is moving away from QTDIR and it might not always be
> supported. Which qmake is found by the configure seems to determine
> the version, though I tried doing it by path and it didn't work. With
> qca2, qca-openssl and psi, I never could get it to work using QTDIR.
> Had to sedit the configure file to make it find the correct qmake.
After sending the email, I was thinking it probably would work if you
install each into /opt/qt3 or /opt/qt4. Here is how every config I
have seen determines if qt is installed:
printf "Verifying Qt 4 build environment ... "
if [ "$QC_DEBUG" = "Y" ]; then
echo
fi
qm=""
# qt4 check: --qtdir
if [ -z "$qm" ]; then
qstr=$EX_QTDIR/bin/qmake
if [ -x "$qstr" ]; then
qm=$qstr
fi
fi
if [ -z "$qm" ] && [ "$QC_DEBUG" = "Y" ]; then
echo "Warning: qmake not found via --qtdir"
fi
# qt4 check: QTDIR
if [ -z "$qm" ]; then
qstr=$QTDIR/bin/qmake
if [ -x "$qstr" ]; then
qm=$qstr
fi
fi
if [ -z "$qm" ] && [ "$QC_DEBUG" = "Y" ]; then
echo "Warning: qmake not found via \$QTDIR"
fi
# qt4 check: pkg-config
if [ -z "$qm" ]; then
str=`pkg-config QtCore --variable=exec_prefix 2>/dev/null`
if [ ! -z "$str" ]; then
qstr=$str/bin/qmake
if [ -x "$qstr" ]; then
qm=$qstr
fi
fi
fi
if [ -z "$qm" ] && [ "$QC_DEBUG" = "Y" ]; then
echo "Warning: qmake not found via pkg-config"
fi
# qt4 check: PATH
if [ -z "$qm" ]; then
qstr=`$WHICH qmake 2>/dev/null`
if [ -x "$qstr" ]; then
qm=$qstr
fi
fi
if [ -z "$qm" ] && [ "$QC_DEBUG" = "Y" ]; then
echo "Warning: qmake not found via \$PATH"
fi
if [ -z "$qm" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
echo " -> fail"
else
echo "fail"
fi
printf "\n"
printf "Reason: Unable to find the 'qmake' tool.\n"
printf "\n"
show_qt_info
exit 1;
fi
if [ "$QC_DEBUG" = "Y" ]; then
echo qmake found in $qm
fi
George
-
[SM-Discuss] Qt 4.1.1 Update,
George Sherwood, 03/02/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Eric Sandall, 03/03/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
George Sherwood, 03/03/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Mads Laursen, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Eric Sandall, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
George Sherwood, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Andrew "ruskie" Levstik, 03/06/2006
- Re: [SM-Discuss] Qt 4.1.1 Update, George Sherwood, 03/06/2006
- Re: [SM-Discuss] Qt 4.1.1 Update, George Sherwood, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Andrew "ruskie" Levstik, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
George Sherwood, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Eric Sandall, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Mads Laursen, 03/06/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
George Sherwood, 03/03/2006
-
Re: [SM-Discuss] Qt 4.1.1 Update,
Eric Sandall, 03/03/2006
Archive powered by MHonArc 2.6.24.