[Fedora-packaging] moc, moc-qt4?

Chris Spencer spencercw at googlemail.com
Thu Jun 26 13:54:04 UTC 2008

Hash: SHA1

Hi Rex,

Yes, I am building for Qt4. Currently I am not in the packaging stage, I
am simply installing various distributions on VMware and running the
standard ./configure; make; make install to make sure everything works.
Inevitably  there will be slight differences between distros that will
cause problems.

Once I have got these issues ironed out I will start packaging it up in
rpms, debs, whatever.

I think the easiest thing to do would probably be to just add another
check for 'moc-qt4' and fail if it doesn't find either. I guess what I'm
really asking is why it was done like this? Developers expect it to be
under the name 'moc', renaming it without even a symlink is just going
to create problems.

Rex Dieter wrote:
| 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
| --
| Fedora-packaging mailing list
| Fedora-packaging at redhat.com
| https://www.redhat.com/mailman/listinfo/fedora-packaging
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Fedora-packaging mailing list