Chris Spencer wrote:
I am developing a program and have begun testing it on other
distributions, however I am having some trouble getting it to compile on
Fedora.
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?
qt3 moc or qt4 moc? (I'll assume the latter).
If building rpms:
Put in specfile:
export PATH=%{_qt4_bindir}:$PATH
and/or (this sometimes helps):
export MOC=%{_qt4_bindir}/moc
See /etc/rpm/macros.qt4 for other useful goodies.
-- Rex