From e62becff13991c154fcbe467ec143905dd660817 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 1 Mar 2021 23:56:57 +0200 Subject: [PATCH 18/18] Autodetect moc command with name moc-qt5 See osdn #41674 Signed-off-by: Marko Lindqvist --- m4/qt5.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m4/qt5.m4 b/m4/qt5.m4 index 3ce57b2a81..ab012d8313 100644 --- a/m4/qt5.m4 +++ b/m4/qt5.m4 @@ -175,7 +175,8 @@ AC_DEFUN([FC_QT5_VALIDATE_MOC], [ AS_IF([test "x$MOCCMD" = "x"], [FC_QT5_TRY_MOC([moc], [FC_QT5_TRY_MOC([qtchooser -run-tool=moc -qt=5], - [MOCCMD=""])])], + [FC_QT5_TRY_MOC([moc-qt5], + [MOCCMD=""])])])], [FC_QT5_TRY_MOC([$MOCCMD], AC_MSG_ERROR(["MOCCMD set to a bad value ($MOCCMD)"]))]) -- 2.30.1