Using debug: or release: fails to account for BOTH of them appearing
in the CONFIG variable ("CONFIG += debug release"). CONFIG(release,
debug|release) will deal with it correctly. This is nothing a simple
Google search wouldn't have revealed, and in fact it's in the official
FAQ:http://qt.nokia.com/developer/faqs/573 /s/ Adam On Mon, Oct 19, 2009 at 11:29 AM, Danny Price <[email protected]> wrote: > I really don't get the debug|release thing... > > 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 > > _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
