[Fedora-packaging] Re: moc, moc-qt4?
enrico.scholz at informatik.tu-chemnitz.de
Thu Jun 26 14:36:39 UTC 2008
Chris Spencer <spencercw at googlemail.com> writes:
> The configure script checks for the program 'moc' and fails if it
> doesn't find it. I have installed the qt-devel package, but for some
> reason it installs moc as moc-qt4, no symlink or anything. Can anyone
> explain to me why this is, and possibly suggest a suitable workaround?
| PKG_CHECK_MODULES(QT, Qt)
| QT4_BINDIR=`$PKG_CONFIG Qt --variable bindir`
| AC_CHECK_TOOLS(MOC, [moc],, [$QT4_BINDIR:$PATH])
This gives most flexibility by using proper defaults while allowing
users to override detected tool by setting $MOC environment/autoconf
More information about the Fedora-packaging