kde3.5 msvc2005 question

Pike Man pikeman at pikeman.sytes.net
Fri May 11 00:54:05 CEST 2007


Hi,
Sometimes a zero length kaboutdialog.moc will be generated and linker
error will occur.
But once run moc manually on kaboutdialog.h one time and the problem
will go away.

How can one build iceauth.exe from the kdelib source? it doesn't have
any source code in the svn.
There is a iceauth.pro file mentioning iceauth.cpp and process.cpp but
there is no main() function in these 2 files.


Thanks.

Jaros?aw Staniek wrote:
> Pike Man said the following, On 2007-05-10 16:19:
>   
>> Thank you, I understand what you said below about the .ui files below now.
>> My problem is specific to this kaboutdialog.moc:
>>
>> 1) why OBJMOC = moc\kaboutdialog.moc was inserted?
>>
>> 2) why this line insist on generating .moc from .cpp?
>>
>> moc\kaboutdialog.moc: $(MOC) kaboutdialog.cpp
>> $(MOC) kaboutdialog.cpp -o moc\kaboutdialog.moc
>>
>> Is there anything special about the kaboutdialog.h and kaboutdialog.cpp
>> file?
>>     
>
> Looks like this is a minor bug in qmake: there is Q_OBJECT used so qmake 
> "thinks" the .cpp file should generate moc_* file. Even if there is the 
> following used to avoid the problem:
>
> #if 0
> //MOC_SKIP_BEGIN
>
>   
>> do you see it in your kdeui/Makefile or it is my specific problem?
>>     
>
> Yes I can see it.
> Is there a compile error because of this?
>
>   




More information about the Kde-windows mailing list