Yeah, you probably forgot to run qmake one time -- you have to do that every time you modify the .pro file.
/s/ Adam On Mon, Oct 19, 2009 at 2:39 PM, Danny Price <[email protected]> wrote: > Did you rebuild the code or just build it? I think the configuration > is encoded into the makefiles so unless they're rebuilt, the changes > won't have an effect....I think... > > I have certainly seen some odd behavior along these lines. > > > On 19 Oct 2009, at 19:34, Stephen Chu wrote: > >> No. Not really. I don't know where or when it will work. It's >> working at >> both locations of the file now. But it refused to work from the end of >> the file just a hour ago. And it was like the CONFIG() control is not >> even there: both debug and release created UB build. >> >> But it's working now and I hope it continues to work. :) >> >> In article <[email protected]>, >> Danny Price <[email protected]> wrote: >> >>> Really?!! >>> >>> >>> On 19 Oct 2009, at 18:59, Stephen Chu wrote: >>> >>>> In article >>>> <[email protected]>, >>>> Coda Highland <[email protected]> wrote: >>>> >>>>> Add something like this to your .pro file: >>>>> >>>>> CONFIG(release, debug|release): CONFIG += x86 ppc >>>>> >>>>> /s/ Adam >>>> >>>> Thanks. It took me a while to figure out that line has to be at the >>>> top >>>> of the file. It doesn't work if it's at the end. >>>> >>>> Thanks again. >>>> >>>> -- >>>> Stephen Chu >>>> _______________________________________________ >>>> Qt-creator mailing list >>>> [email protected] >>>> http://lists.trolltech.com/mailman/listinfo/qt-creator >> >> -- >> Stephen Chu >> _______________________________________________ >> 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
