How can I globally define a macro variable (a la -D on most C compilers IIRC) in Creator. I tried adding the variable to Projects/Build Environment, but that doesn't seem to do it.
How can I globally define a macro variable (a la -D on most C compilers IIRC) in Creator. I tried adding the variable to Projects/Build Environment, but that doesn't seem to do it.
Found it: "DEFINES +=" in the PRO file.
Was looking in the project settings instead.