|
From: sfeam <sf...@us...> - 2014-06-15 18:36:09
|
On Sunday, 15 June 2014 10:46:38 AM Philipp K. Janert wrote: > > I am encountering difficulties building the rc1 > with the Qt terminal. > > During the "configure" stage, everything goes > fine, and configure tells me that the QT terminal > will be built: > > Qt terminal: yes (qt5) > > But then when I run "make", the process > eventually dies, with a complaint about the > Qt utility "uic": > > /usr/bin/uic -o ui_QtGnuplotSettings.h > qtterminal/QtGnuplotSettings.ui uic: could not find a Qt installation > of '' > > The uic tool is installed (in /usr/bin/uic), > but somehow the install seems to be broken - What linux distro are you using? Is Qt4 installed also? At least on mine (Mageia4) the uic in /usr/bin/uic is from Qt4, and the correct uic for Qt5 is in /usr/lib64/qt5/bin/uic The configure script requests the location of Qt5 executables via the pkg-config utility: pkg-config Qt5Core --variable=exec_prefix If the pkg-config files for Qt5 are not present, or are incorrect, that would explain your problem. In this case please report the configuration error to your linux distro. Meanwhile you can probably work around this by finding the line where this is invoked in the ./configure script: [1] grep -n QT5LOC configure 14304: QT5LOC=`$PKG_CONFIG --variable=exec_prefix Qt5Core` Change that to QT5LOC=/usr/lib/qt5 or wherever Qt5 really is installed on your system. > Apparently, it is more of a Qt problem, than a > gnuplot problem. Nevertheless is there a way to > either: > - detect the problem during "configure" > - fix the problem (better!)? Probably the best is to get your distro to fix the pkg-config support in their Qt5 development package. Meanwhile the work-around above may get you going. cheers, Ethan |