|
From: Philipp K. J. <ja...@ie...> - 2014-06-15 20:19:27
|
On Sun, 15 Jun 2014 12:22:16 -0700 "Philipp K. Janert" <ja...@ie...> wrote: Update: apparently, the qt5-default package provided with my distro DOES work properly. For instance, running uic -v at a regular cmd prompt now produces: Qt User Interface Compiler version 5.0.2 which seems quite reasonable. Apparently, the proper symlinks or whatever are being set in the background. Does this push the issue back to the "configure" script? Why is "lrelease" even being invoked if it is a Qt4 only tool? (There seems to be some logic in "configure" that limits "lrelease" to Qt4 - for instance lines 14334-14339, but I do not really understand what "configure" does.) Best, Ph. > > [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? > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk > Solutions Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |