]> git.lyx.org Git - lyx.git/commitdiff
Correct moc compiler version extractor regex for patch level greater 9.
authorStephan Witt <switt@lyx.org>
Fri, 16 Jul 2021 16:12:33 +0000 (18:12 +0200)
committerStephan Witt <switt@lyx.org>
Fri, 16 Jul 2021 16:12:33 +0000 (18:12 +0200)
config/qt.m4

index 7fe329f559bcc9d55925061d18bcc6f7616f5d7f..d41332a2fa5529a39365a69733aef2619baebf93 100644 (file)
@@ -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