On Tue, May 31, 2016 at 11:38 AM, Liviu Andronic <landronim...@gmail.com> wrote: > On Tue, May 31, 2016 at 11:31 AM, Jean-Marc Lasgouttes > <lasgout...@lyx.org> wrote: >> Le 31/05/2016 à 11:21, Liviu Andronic a écrit : >>>> >>>> If it is, you may need to add something >>>> to your include path. Or we may need to use something more reasonable >>>> than >>>> #include <qglobal.h> >>>> #include <qstring.h> >>>> >>>> At least qstring.h seems very old-fashionned. >>>> >>> I've added libqt5svg5-dev and at least this part is now working: >> >> >> I'd still like to know about qglobal.h location. >> > Since I'm installing qtbase5-dev, I suspect it will end up here > (depending on platform): > http://packages.ubuntu.com/search?searchon=contents&keywords=qglobal.h&mode=exactfilename&suite=xenial&arch=any > > /usr/include/i386-linux-gnu/qt5/QtCore/qglobal.h > /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h > > > > >>> >>> https://launchpadlibrarian.net/262536549/buildlog_ubuntu-xenial-amd64.lyx_2.2.0-2~xenial~ppa5_BUILDING.txt.gz >>> checking for moc-qt5... no >>> checking for moc... /usr/bin/moc >> >> >> When compiling, moc says: >> >> /usr/bin/moc -o moc_Compare.cpp ../../src/Compare.h >> moc: could not find a Qt installation of '' >>
>> So either it is a Qt4 moc and qt4 is not corectly installed, or something >> else is wrong. >> > Since I'm building only for Qt5 (so using qtbase5-dev), should I also > install Qt4 development libraries (i.e. libqt4-dev)? > I'm definitely not getting the right moc files. I tried adding libqt4-dev, and now the compilation error message is as follows: https://launchpadlibrarian.net/262539787/buildlog_ubuntu-xenial-amd64.lyx_2.2.0-2~xenial~ppa8_BUILDING.txt.gz == The found moc compiler is for Qt 4.8.7 but the Qt library version is 5.5.1. Not sure where to go from here. Liviu > Liviu > > >> JMarc >> > > > > -- > Do you think you know what math is? > http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 > Or what it means to be intelligent? > http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 > Think again: > http://www.ideasroadshow.com/library -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library