Hey folks,
Is it possible to do something like that in a QMake .pro file:
Qt Code:
myVariable = ../qkit/include INCLUDEPATH += $(myVariable)/qkCoreTo copy to clipboard, switch view to plain text mode
Thanks.
Hey folks,
Is it possible to do something like that in a QMake .pro file:
Qt Code:
myVariable = ../qkit/include INCLUDEPATH += $(myVariable)/qkCoreTo copy to clipboard, switch view to plain text mode
Thanks.
Yes, this is possible.
similar like this.
Notice the quoted value and the use of variable without $$ sign.Qt Code:
myvar = "any string value" othervar += myvarTo copy to clipboard, switch view to plain text mode
bunjee (29th July 2009)
Thanks,
Solved:
Qt Code:
myVariable = "../qkit/include" INCLUDEPATH += $$myVariable/qkCoreTo copy to clipboard, switch view to plain text mode
Single dollar sign means an evironment variable, double dollar sign means a qmake variable.
bunjee (29th July 2009)
Bookmarks