[Qt-interest] Status of XCode Integration

Philippe philwave at gmail.com
Wed Mar 17 11:31:58 CET 2010


Wrong. Moc knows about custom defines!... as far as it find them (which
is the case with the Visual Studo integration default behaviour).

It's not new, this is at least 2 years old.

Philippe

On Wed, 17 Mar 2010 11:22:34 +0100
Andreas Pakulat <apaku at gmx.de> wrote:

> On 17.03.10 09:38:43, Oliver.Knoll at comit.ch wrote:
> > Andreas Pakulat wrote on Wednesday, March 17, 2010 12:01 AM:
> > > ... 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... 
> >
> > But I think nowadays moc even evaluates #defines (that was not the case
> > in Qt 3 moc), so if you have platform-specific defines in your *.h off
> > course at least the generated *.moc files can indeed be different per
> > platform.
> 
> moc doesn't evaluate defines, it knows about some of the defines that Qt
> uses in its own codebase. At least thats been the case a year ago when I
> last stumbled over this.
> 
> Andreas
> 
> -- 
> Excellent time to become a missing person.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list