|
From: Petr M. <mi...@ph...> - 2012-08-22 10:03:45
|
> What is the status of the Qt terminal? It easily builds and works on
> linux systems.
Not here, I still see the error I reported in January:
***************************************
During make, I see:
/usr/src/packages/BUILD/qt-everywhere-opensource-src-4.7.1/bin/rcc: Command
not found
make[3]: *** [qrc_QtGnuplotResource.cpp] Error 127
and similarly for lrelease.
Directory
/usr/src/packages/BUILD/qt-everywhere-opensource-src-4.7.1
does not exist; rcc and lrelease are directly in /usr/bin/.
Is this a bug in pkg-config? Here is what I get with pkg-config:
$ pkg-config --variable=rcc_location QtCore
/usr/src/packages/BUILD/qt-everywhere-opensource-src-4.7.1/bin/rcc
$ pkg-config --variable=uic_location QtCore
/usr/bin/uic
Among others, the following libraries are installed:
libqt4-devel-4.7.1-154.1
qt3-devel-3.3.8b-87.11
qt3-3.3.8b-87.11
It's on OpenSUSE 11.1 with KDE3.
***************************************
I think the problem is in configure.in which contains this check:
RCC=`$PKG_CONFIG --variable=rcc_location QtCore`
if test x"$RCC" = x ; then
if test x"$QT4LOC" != x ; then
RCC=$QT4LOC/bin/rcc
else
RCC=rcc
fi
fi
I think it should be replaced by
if "$QT4LOC/bin/rcc exists"
then RCC=$QT4LOC/bin/rcc
else RCC=rcc
and similarly for lrelease.
Petr
|