In the .pro file, add DEFINES += <mydefine>
On Mon, Nov 1, 2010 at 12:35 PM, Sergey <[email protected]> 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
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator