qt - Add a define to qmake WITH a value? -
How do I define a value with a quake:
For example, it does not work (Like I expected) my In Pro File:
Definitions == WINVER 0x0500
and
Definitions + = "WINVER 0x0500"
How do I define the wayver as 0x0500 before starting any compilation, its definition is not affected by any compilation or order inclusion in any way?
Definitions = "WINVER = 0x0500"
works for me.
In this way, -DWINVER = 0x0500
is added to the command line of the compiler, which is expected for syntax GCC / Amingav with command line preprocessor definitions (see for details) .
Comments
Post a Comment