Re: moc, moc-qt4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Spencer <spencercw@xxxxxxxxxxxxxx> 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?

Use

| 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
variable.



Enrico

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux