[Qt-creator] Preprocessor Definitions
Danny Price
deepblue842 at googlemail.com
Mon Nov 1 13:43:46 CET 2010
In the .pro file, add DEFINES += <mydefine>
On Mon, Nov 1, 2010 at 12:35 PM, Sergey <antrix at mifprojects.com> wrote:
> Is there a way to set up preprocessor definitions in QtCreator? I need
> somethinig like this:
>
> int main(int argc, char** argv)
> {
> #ifdef DEBUG
> return 1;
> #endif
>
> return 0;
> }
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20101101/fe739340/attachment.html
More information about the Qt-creator-old
mailing list