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:
Enrico Forestieri 2024-06-17 21:57:24 +02:00
parent 5d76b4bb8f
commit fe64db4b70

View File

@ -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