On May 2, 2009, at 2:00 AM, ext fungos wrote: > Sorry about the delay. I tested it and yes, .pro files aren't > "portable" :) > > debug|release only works on linux. > Debug|Release only works on windows. > > Where do I fill a bug report on qmake?
http://www.qtsoftware.com/developer/task-tracker If you want to make sure to be cross-platform you should use the CONFIG(debug, debug|release) #similar to debug|Debug CONFIG(release, debug|release) #similar to release|Release variants. ++ Eike > > > On Thu, Apr 30, 2009 at 6:03 PM, fungos <[email protected]> wrote: >> Glad to help, >> I hope someone take a look at this issue, this is very frustrating >> when we are learning. :S >> >> ps: I will test on Kubuntu 9.04. >> >> On Thu, Apr 30, 2009 at 4:57 PM, Ed Sutton <[email protected]> >> wrote: >>> Thank you very much for solving my problem! >>> >>>> In another post I wrote about this issue. This can be a qmake >>>> bug, I >>>> really don't know. But in Windows (only tried there) it will not >>>> work >>>> if it is "debug" or "release". It will work *only* with "Debug" and >>>> "Release". I will test it in Linux as soon as possible. >>> >>> Including this in the PRO file works: "debug:DEFINES+=DEBUG". >>> >>> This does not: "Debug:DEFINES+=DEBUG" >>> >>> I am using Red Hat Enterprise Linux 5.2. But I was pretty sure >>> that "Debug:" had worked for me on another RHEL machine - curious. >>> >>> Thanks again for you time. >>> >>> -Ed >>> >>>>>> Debug:DEFINES+=DEBUG >>>>>> >>>>>> Is the above the correct syntax to conditionally define "DEBUG" >>>>>> when >>>>>> compiling a QT Creator Debug project? >>>>> >>>>> I think the canonical way is to use >>>>> >>>>> CONFIG(debug, debug|release) >>>>> >>>>> as "condition". >>>>> >>>>> Andre' >>>>> _______________________________________________ >>>>> Qt-creator mailing list >>>>> [email protected] >>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator >>>>> >>>> >>>> -- >>>> Animal Liberation Front >>>> http://www.animal-liberation.com/ >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> >> >> -- >> Animal Liberation Front >> http://www.animal-liberation.com/ >> > > > > -- > Animal Liberation Front > http://www.animal-liberation.com/ > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator -- Eike Ziller Software Engineer Nokia, Qt Software Phone +49 (0)30 6392 3255 Fax +49 (0)30 6392 3256 E-mail [email protected] _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
