[gobolinux-users] KDE/QT related compiles failing
Anshuman Aggarwal
anshuman at brillgene.com
Fri Jul 6 21:10:11 UTC 2007
I had found the same link using the power of google earlier ...my german
is about the same as yours so that's what I had tried but with no luck...
the configure script was still using the current moc
I used the actual path of the moc bin from the 3.3.7 version
--with-qt-moc=/Programs/Qt/3.3.7/bin/moc
I did have Qt4 installed and symlinked as the current one...
It is working with Qt 3.3.7 symlinked (temporarily) ...but I was
wondering about the Compile level fix for this (and similar problems)?
Even though the dependency claims Qt < 4? Is this a problem that Compile
is not respecting the BuildInformation/BuildDependency?
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
>
> http://forums.gentoo.org/viewtopic-t-298202-start-25.html?sid=896805cedb06770078c6eb961dd39741
>
> suggests (if my I'm not fooled by my inability to read German) to try
> adding the flag --with-qt-moc to specify which version of moc to use.
> If it's a moc version mismatch, I'd suggest instead symlinking the
> right one (even if temporarily).
>
> -- Hisham
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
More information about the gobolinux-users
mailing list