|
From: sfeam <sf...@us...> - 2014-06-15 20:20:10
|
On Sunday, 15 June 2014 12:22:16 PM Philipp K. Janert wrote: > > [snip] > > > > > > > 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 - > > Thanks for the quick response! > > > > > What linux distro are you using? > > Is Qt4 installed also? > > The distro is Mint 16 on 64bit. > > > > > 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 > > "locate" tells me that there is another "uic" in > /usr/lib/x86_64-linux-gnu/qt5/bin/ (of all places). > > > > > 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. > > The distro provides a "qt5-default" package (which > I now have installed) and which (supposedly) makes > Qt5 the default when dev libs are used, but it does > not work (the prefix is still "/usr"). So that seems > to be a distro bug. > > > > > 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. > > That gets me further, but not home. Now, compilation > dies here: > > lrelease qtterminal/po/qtgnuplot_fr.ts -qm qtgnuplot_fr.qm > lrelease: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/lrelease': > No such file or directory > > Which is odd in its own way, because lrelease seems > to be only available (at least for my distro) in > some Qt4 package. > > Thoughts? I don't know about Mint, but for Mageia lrelease comes in a separate package qttools5-5.2.0-3.mga4 Ethan |