[gobolinux-users] KDE/QT related compiles failing
Michael Homer
gobo-users-dufus at wotfun.com
Fri Jul 6 22:08:40 UTC 2007
On 7/7/07, hisham.hm at gmail.com <hisham.hm at gmail.com> wrote:
> On 7/6/07, Anshuman Aggarwal <anshuman at brillgene.com> wrote:
> > All the KDE related compiles that I do fail with this error in make:
> > <name of program>.moc:12:2: error: #error "The header file '<name of
> > program>.h' doesn't include <QObject>."
> >
> > Any clues
> >
> > I have KDE 3.5.6 installed which was using InstallPackage
>
> A google search suggests that the problem is an incompatibility with
> the version of moc. Do you have Qt 4 installed as well? What does
> /S/L/Ex/moc point to? This post
That is exactly the problem. It's what happens when you try compiling
Qt3 applications (KDE 3) against Qt4's moc. Just symlink the old one
back in and it will work. I had the same problem when I upgraded by
mistake.
Is anything actually using Qt4? There's a recipe for it, but so far as
I can see nothing that uses it. It might be worth losing the recipe
until the new KDE comes out to stop this problem.
-Michael
More information about the gobolinux-users
mailing list