|
From: sfeam <sf...@us...> - 2014-05-11 16:56:08
|
On Sunday, 11 May 2014 06:18:53 PM pl...@pi... wrote:
> On 05/11/14 17:51, sfeam wrote:
> > The check for qt5 is done by looking for installation of the following
> > modules:
> > Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport
> >
> > You should be able to find what failed by looking in the configuration
> > log file config.log. I am guessing that even though you installed qt5
> > you didn't pull one or more of those optional modules.
>
> I didn't say I'd installed qt5 and I haven't.
I misunderstood your introduction:
"just tried to update to v5 and it barfed at the QT stage."
> Gnuplot correctly detects
> qt4 but is looking in a temporary build directory.
>
> ./configure
>
> wxt terminal: yes
> Qt terminal: yes (qt4)
>
>
> log:
>
> configure:14155: checking for QT
> configure:14163: $PKG_CONFIG --exists --print-errors "QtCore >= 4.5
> QtGui >= 4.5 QtNetwork >= 4.5 QtSvg >= 4.5"
> configure:14166: $? = 0
> configure:14181: $PKG_CONFIG --exists --print-errors "QtCore >= 4.5
> QtGui >= 4.5 QtNetwork >= 4.5 QtSvg >= 4.5"
> configure:14184: $? = 0
> configure:14260: result: yes
> configure:14274: WARNING: The Qt terminal will use Qt4.
> ...
>
> configure:16316: result: wxt terminal: yes
> configure:16326: result: Qt terminal: yes (qt4)
>
> ...
> pkg_cv_QT_CFLAGS='-DQT_SHARED -I/usr/include/qt4
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSvg '
> pkg_cv_QT_LIBS='-L/usr/lib/qt4 -lQtNetwork -lQtSvg -lQtGui -lQtCore '
>
> ...
>
> QT_CFLAGS='-DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork
> -I/usr/include/qt4/QtSvg '
> QT_LIBS='-L/usr/lib/qt4 -lQtNetwork -lQtSvg -lQtGui -lQtCore '
> ....
>
> UIC='/tmp/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2/bin/uic'
>
>
> So the question remains, where is it digging this "UIC" thing from ?
It asks pkg-config, which is supposed to announce where things have
been installed on your machine. The key lines are these:
QT4LOC=`$PKG_CONFIG --variable=exec_prefix QtCore`
UIC=`$PKG_CONFIG --variable=uic_location QtCore`
MOC=`$PKG_CONFIG --variable=moc_location QtCore`
RCC=`$PKG_CONFIG --variable=rcc_location QtCore`
LRELEASE=`$PKG_CONFIG --variable=lrelease_location QtCore`
AC_MSG_WARN([The Qt terminal will use Qt4.])
If I run this command here I get:
[1] pkg-config --variable=uic_location QtCore
/usr/lib/qt4/bin/uic
> Maybe whatever file it sources this from is incorrect.
> Where should I look to see what it's doing?
Your pkg-config is apparently returning some garbage location.
Look for a file on your system named QtCore.pc and check what
it contains. E.g.
[1] locate QtCore.pc
/usr/lib/pkgconfig/QtCore.pc
[2] cat /usr/lib/pkgconfig/QtCore.pc
...
|