Skip to content

Commit

Permalink
Autotools: Detect qt6 moc as /usr/libexec/qt6/moc
Browse files Browse the repository at this point in the history
See RM #560

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
  • Loading branch information
cazfi committed May 19, 2024
1 parent f6ce3cf commit e43360f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/qt6.m4
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ AC_DEFUN([FC_QT6_VALIDATE_MOC], [
dnl Try to find a Qt 6 'moc' if MOCCMD isn't set.
dnl Test that the supplied MOCCMD is a Qt 6 'moc' if it is set.
AS_IF([test "x$MOCCMD" = "x"],
[for mocpath in "moc" "qtchooser -run-tool=moc -qt=6" "moc-qt6" "/usr/lib/qt6/moc" "/usr/lib/qt6/libexec/moc" "/usr/libexec/moc"
[for mocpath in "moc" "qtchooser -run-tool=moc -qt=6" "moc-qt6" "/usr/lib/qt6/moc" "/usr/lib/qt6/libexec/moc" "/usr/libexec/moc" "/usr/libexec/qt6/moc"
do
if test "x$MOCCMD" = "x" ; then
FC_QT6_TRY_MOC([$mocpath])
Expand Down

0 comments on commit e43360f

Please sign in to comment.