mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
Add xcb lib if x11extras is detected
In this case we use directly some xcb api outside of the Qt framework and hence we have to add the xcb library by ourselves.
This commit is contained in:
parent
5d76b4bb8f
commit
fe64db4b70
@ -464,6 +464,7 @@ EOF4
|
|||||||
fi
|
fi
|
||||||
QT5_X11_EXTRAS=`cd $lyx_test_qt_dir; make -s -f $lyx_test_qt_mak DEFINES | grep QT_X11EXTRAS_LIB`
|
QT5_X11_EXTRAS=`cd $lyx_test_qt_dir; make -s -f $lyx_test_qt_mak DEFINES | grep QT_X11EXTRAS_LIB`
|
||||||
if test -n "$QT5_X11_EXTRAS"; then
|
if test -n "$QT5_X11_EXTRAS"; then
|
||||||
|
QT_LIB="$QT_LIB -lxcb"
|
||||||
AC_DEFINE(HAVE_QT5_X11_EXTRAS, 1,
|
AC_DEFINE(HAVE_QT5_X11_EXTRAS, 1,
|
||||||
[Define if you have the Qt5X11Extras module])
|
[Define if you have the Qt5X11Extras module])
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user