In a Qt project, I have a variable I use in the code. This is done by using
APP_NAME = "QField"
DEFINES += "APP_NAME=\"\\\"$${APP_NAME}\\\"\""
How can I modify this from the command line?
I tried to add APP_NAME=my_name in additional arguments of qmake build steps without success.
Note: the APP_NAME and DEFINES lines are within a .pri file which is included in the .pro file called by qmake.