Thanks for reply,
It is working.
What I was tying :
parent .pro
isEmpty(PREFIX) {
PREFIX = default-path-to-dest
}
message($$PREFIX) // it will print default-path-to-dest
isEmpty(PREFIX) {
PREFIX = default-path-to-dest
}
message($$PREFIX) // it will print default-path-to-dest
To copy to clipboard, switch view to plain text mode
child .pro
message($$PREFIX) //it will print empty string
message($$PREFIX) //it will print empty string
To copy to clipboard, switch view to plain text mode
and under qmake arguments I was passing nothing. I thought parent.pro will check for PREFIX value and if it is empty then it will assign some default value.
Thanks for your help.
Bookmarks