mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Account for Qt 5.10
Fix regular sed expression in order to catch a second digit in the Qt minor version number.
This commit is contained in:
parent
76f0a3dd4e
commit
6253cc4c51
@ -211,7 +211,7 @@ AC_DEFUN([QT_DO_IT_ALL],
|
||||
QT_FIND_TOOL([QT_RCC], [rcc])
|
||||
|
||||
dnl Safety check
|
||||
mocqtver=`$QT_MOC -v 2>&1 | sed -e 's/.*\([[0-9]]\.[[0-9]]\.[[0-9]]\).*/\1/'`
|
||||
mocqtver=`$QT_MOC -v 2>&1 | sed -e 's/.*\([[0-9]]\.[[0-9]]*\.[[0-9]]\).*/\1/'`
|
||||
if test "x$mocqtver" != "x$QTLIB_VERSION"; then
|
||||
LYX_WARNING([The found moc compiler is for Qt $mocqtver but the Qt library version is $QTLIB_VERSION.])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user