Feature #560 ยป 0068-Autotools-Detect-qt6-moc-as-usr-libexec-qt6-moc.patch
m4/qt6.m4 | ||
---|---|---|
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])
|