Sorry hit 'send' too early!

macx:debug{
CONFIG += x86
}

macx:release {
CONFIG += x86 ppc
}

should do it.

On Mon, Oct 19, 2009 at 5:23 PM, Coda Highland <[email protected]>wrote:

> Add something like this to your .pro file:
>
> CONFIG(release, debug|release): CONFIG += x86 ppc
>
> /s/ Adam
>
> On Mon, Oct 19, 2009 at 10:47 AM, Stephen Chu <[email protected]> wrote:
> > How do I configure a project to create universal binaries only when
> > building for release?
> >
> > I added CONFIG+=x86 ppc in pro file but it build universal binaries in
> > both debug and release configurations. It's a waste of time for debug
> > build since only one architecture is needed for debugging.
> >
> > Thanks.
> > _______________________________________________
> > Qt-creator mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt-creator
> >
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to