Le 14/09/2015 00:34, PhilipPirrip a écrit :
On 09/13/2015 06:02 PM, Scott Kostyshak wrote:

Ah it seemes that Qt 5 is needed in order to take advantage of the
commits. see
http://www.lyx.org/trac/ticket/9130#comment:15
I would warn that you should use Qt 5.5 as using previous versions
caused regressions.


Oh, OK. Thanks Scott.
I might need some help here:
I did
./configure --enable-qt5

and the error was
checking for Qt library name... failed
configure: error: cannot compile a simple Qt executable. Check you have
the right $QTDIR.

Then
export QTDIR=/usr/lib64/qt5



and also tried
./configure --enable-qt5 --with-qt-dir=/usr/lib64/qt5

Same error.




I have no idea what to do next.




For the record, if Scott's indication on using CMake is not suitable, I had to ./configure in Ubuntu as follows:

./configure --enable-qt5 --with-qt-dir=/usr/lib/x86_64-linux-gnu/qt5 --with-qt-libraries=/usr/lib/x86_64-linux-gnu/qt5 --with-qt-includes=/usr/include/x86_64-linux-gnu/qt5

Note the separate paths for libraries and includes, maybe Fedora makes the same distinction. Maybe something would have to be fixed with the autotools configuration.

Reply via email to