Hey folks,
Is it possible to do something like that in a QMake .pro file:
Code:
myVariable = ../qkit/include INCLUDEPATH += $(myVariable)/qkCore
Thanks.
Printable View
Hey folks,
Is it possible to do something like that in a QMake .pro file:
Code:
myVariable = ../qkit/include INCLUDEPATH += $(myVariable)/qkCore
Thanks.
Yes, this is possible.
similar like this.
Notice the quoted value and the use of variable without $$ sign.Code:
myvar = "any string value" othervar += myvar
Thanks,
Solved:
Code:
myVariable = "../qkit/include" INCLUDEPATH += $$myVariable/qkCore
Single dollar sign means an evironment variable, double dollar sign means a qmake variable.