Hello.
qmake allows to supply a variables via a command-line interface like this:
qmake "CONFIG += release" "MY_VAR = hello"
qmake "CONFIG += release" "MY_VAR = hello"
To copy to clipboard, switch view to plain text mode
So i can use $$MY_VAR inside a .pro file. But is it possible to suply more than one variable such way? I have tried
qmake "CONFIG += release" "MY_VAR = hello" "MY_ANOTHER_VAR = hi"
qmake "CONFIG += release" "MY_VAR = hello" "MY_ANOTHER_VAR = hi"
To copy to clipboard, switch view to plain text mode
But it did not work (raises error). Any hints?
Bookmarks