[Qt-interest] Status of XCode Integration

Philippe philwave at gmail.com
Wed Mar 17 08:26:20 CET 2010


> On 16.03.10 21:59:02, Philippe wrote:
> > Personally, I only generate moc files from Windows/VisualStudio, and
> > reuse them in XCode as such. There are portable. Never has a problem.
> 
> I wouldn't be so sure about that, at least I'd assume that there's a
> reason why Qt's own buildsystems put Debug and release .moc-files into
> separate folders, but generated ui-headers or qrc files not. As
> .moc-files are to be considered an implementation detail of Qt and hence
> internal they might one day put platform specific code into the file...

It does work on a large multi-target project. The same I do for .qrc and
.ui, all generated from Windows.
But it requires some discipline. Like good sync between the project. And
of course, having the same signals and slots on both platforms.

Regenerating from time to time the XCode project is certainly not a good
idea from my point of view, if you have a customized XCode project.

Now, if Nokia puts platform specific code into generated files, I would
have to reconsider the thing. But that would be a curious move from them.

Philippe





More information about the Qt-interest-old mailing list