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/ _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
