Hi everyone,
I was wondering what's the equivalent of #define in my .pro file.
For example, this is what I want to achieve in my .pro file-
Qt Code:
#define shapeA #if defined(shapeA) FORMS += \ formA.ui #elif defined(shapeB) FORMS += \ formB.ui #endifTo copy to clipboard, switch view to plain text mode
I know # symbol is meant to comment a line in .pro file, I just used it for illustration purpose.
And yes, I did search in google about this. I get some examples regarding the use of CONFIG+= or DEFINES+= . I tried them in my .pro file but couldn't achieve what I wanted to. I would be really glad if someone would help me out regarding this.
-Thanks,
sattu
Bookmarks