Discussion:
Liker problems with QT5 (cmake build)
Kornel Benko
2014-08-11 18:55:45 UTC
Permalink
I just realized, that I am not able to compile lyx(master) with QT5.
The last successful compilation dates to Jun 27.

This is the error message:
/usr/bin/ld: ../lib/libfrontend_qt.a(GuiListings.cpp.o): undefined reference to symbol '_ZN13QIntValidatorC1EiiP7QObject'
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.2.1: error adding symbols: DSO missing from command line

OS: Ubuntu 14.04, 64 bit.

After some googling it looks, like the we need to add QT5 libraries *after* our own.

Rearranging (see patch) helps.
Will commit.

Kornel

Loading...