Defining a relative HOME path in the Project file?
-
How do you define a relative HOME path in the project file? If I install an app on many boxes, I need a relative home path(/home/fred, /home/bob, /home/joe...) Looking at the documentation, it seems that $$(PWD) will not give me this. I want set the rpath with something like this QMAKE_RPATHDIR = $$HOME/myApp/locallibs (of course $$HOME is not valid)
-
I think this should work:
@QMAKE_RPATHDIR = $$(HOME)/myApp/locallibs
message("QMAKE_RPATHDIR="$$QMAKE_RPATHDIR)@ -
Thanks, it worked like a charm.