[Qt-interest] Status of XCode Integration
Andreas Pakulat
apaku at gmx.de
Wed Mar 17 07:52:42 CET 2010
On 16.03.10 16:32:01, Trygve Isaacson wrote:
> On Tue, Mar 16, 2010 at 1:46 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> ...
> > I don't know about XCode (for either qmake or cmake) but the makefile
> > generated by both tools automatically re-run them in the case of
> > changing their inputfiles (i.e. .pro or cmakelists.txt). So its even
> > automatic as long as you maintain the original cmake/qmake project file.
> ...
>
> My experience with XCode is similar. You obviously need to run qmake
> to regenerate the project if you add or remove files in .pro files,
> and less obviously if you change an existing class so that it becomes
> Q_OBJECT-enabled (starts needing moc). But if you are merely
> adding/changing signals and slots on classes that already are declared
> Q_OBJECT, then XCode will re-moc those classes automatically as needed
> whenever you build.
Thats not what Makefiles do, Makefile's re-run qmake completely
automatically if the generated Makefile is older than qmake's .pro file
(the same for cmake files). So adding new files or adding Q_OBJECT
macro's is no problem, I still just run make and it'll re-run qmake for
me.
Andreas
--
Think twice before speaking, but don't say "think think click click".
More information about the Qt-interest-old
mailing list