[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: moc files
From:       "Victor =?iso-8859-1?q?R=F6der?=" <Victor_Roeder () GMX ! de>
Date:       2001-08-05 18:31:39
[Download RAW message or body]

Hi,

first of all: after I've downloaded the changes of Matthias there were still 
some contradictions with the moc file includes. But this time my Makefiles 
were responsible for that. Therefore I changed them by hand :-|. Hmmm, maybe 
other people have "wrong" Makefiles, too and get into troubles when 
compiling. Is there a chance to get the "right" Makefiles into CVS? ( I don't 
know if they are there already, but if, why did I have the "wrong ones"?)

> could someone help me understand, why this is the actual method handling
> with moc files?
> *Method A: The class declaration is found in a header (.h) file*
> (the Makefile-method)
> and
> *Method B: The class declaration is found in an implementation ( .cpp)
> file* (the #include-method)

As mentioned there are two methods: the first one compiles the moc(.cpp) 
files and the cpp files separated and the second one includes the moc file 
into the matching cpp file and compiles only the cpp files. And not the moc 
files und cpp files separated.

Bye,
	Victor

-
to unsubscribe from this list send an email to kdevelop-devel-request@kdevelop.org \
with the following body: unsubscribe »your-email-address«


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic