Skip to content

Instantly share code, notes, and snippets.

@jniemann66
Created October 24, 2020 07:03
Show Gist options
  • Save jniemann66/6de355480cb443a6752e91e94e4236cc to your computer and use it in GitHub Desktop.
Save jniemann66/6de355480cb443a6752e91e94e4236cc to your computer and use it in GitHub Desktop.
QMake Syntax for variables
VAR = foobar => Assign value to variable when qmake is run
$$VAR => QMake variable's value at the time qmake is run
$${VAR} => QMake variable's value at the time qmake is run (identical but enclosed to separate from surrounding text)
$(VAR) => Contents of an Environment variable at the time Makefile (not qmake) is run
$$(VAR) =>Contents of an Environment variable at the time qmake (not Makefile) is run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment