Qt6: Search for Qt6 moc from /usr/lib/qt6/libexec/
Qt6 installed from Debian experimental has 'moc' under /usr/lib/qt6/libexec/ and our current search does not detect it. While this is easy to work around by setting MOCCMD manually, I think we should do automatic search from that location.
As part of #43200, this has also been posted to http://forum.freeciv.org/f/viewtopic.php?f=14&t=92083
This seems to expose some bug in older systems (autoconf?), causing configure to end with a syntax error. Need to work around that.
Reply To cazfi
Workaround in #43366, which must go in before this one.
New version look also for /usr/lib/qt6/moc, as it's in manjaro.
Qt6 installed from Debian experimental has 'moc' under /usr/lib/qt6/libexec/ and our current search does not detect it. While this is easy to work around by setting MOCCMD manually, I think we should do automatic search from that location.
As part of #43200, this has also been posted to http://forum.freeciv.org/f/viewtopic.php?f=14&t=92083