Skip to content

Commit 8c46bdf

Browse files
committed
DRAFT: Another moc search path
1 parent 7c50a7a commit 8c46bdf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

m4/qt-validate-moc.m4

+5-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ AC_DEFUN([FC_QT6_VALIDATE_MOC], [
5050
5151
dnl Try to find a Qt 6 'moc'
5252
AS_IF([test "x$MOCCMD" = "x"],
53-
[for mocpath in "moc" "qtchooser -run-tool=moc -qt=6" "moc-qt6" "$prefix/lib/qt6/moc" "$prefix/lib/qt6/libexec/moc" "$libexecdir/moc" "$libexecdir/qt6/moc" "$libdir/qt6/moc" "$libdir/qt6/libexec/moc"
53+
[for mocpath in "moc" "qtchooser -run-tool=moc -qt=6" "moc-qt6" \
54+
"$prefix/lib/qt6/moc" "$prefix/lib/qt6/libexec/moc" \
55+
"$libexecdir/moc" "$libexecdir/qt6/moc" \
56+
"$libdir/qt6/moc" "$libdir/qt6/libexec/moc" \
57+
"/usr/lib/qt6/moc" "/usr/lib/qt6/libexec/moc"
5458
do
5559
if test "x$MOCCMD" = "x" ; then
5660
FC_QT6_TRY_MOC([$mocpath])

0 commit comments

Comments
 (0)