mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
Correct moc compiler version extractor regex for patch level greater 9.
This commit is contained in:
parent
4716b1f91a
commit
c93c94fd22
@ -272,7 +272,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