X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=config%2Fqt.m4;h=ac8daa255f9131e3a5fc400724892ac507f47313;hb=bbc2270972cfbb1aa11836498c8a6c73be91f18d;hp=814d94d9a6766d25b73be52def818a67b1d8626e;hpb=9376f0203d5d314639f7207111a4aba8ac070859;p=lyx.git diff --git a/config/qt.m4 b/config/qt.m4 index 814d94d9a6..ac8daa255f 100644 --- a/config/qt.m4 +++ b/config/qt.m4 @@ -207,6 +207,14 @@ AC_DEFUN([QT_DO_IT_ALL], [AC_MSG_ERROR([LyX requires at least version $1 of Qt. Only version $QTLIB_VERSION has been found.]) ]) + case $QTLIB_VERSION in + 6.*) if test $enable_stdlib_debug = "yes" ; then + LYX_WARNING([Compiling LyX with stdlib-debug and Qt6 library may lead to + crashes. Consider dropping --enable-stdlib-debug.]) + fi;; + esac + + save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$save_CPPFLAGS $QT_CORE_INCLUDES" AC_CHECK_HEADER(QtGui/qtgui-config.h,