1 # use p4 where to get the solutions base dir.
2 # need to check for "..." since p4 behaves differently between versions
3 # SOLUTIONBASEDIR = $$system(p4 where //depot/addons/main/...)
5 # figure out the path on your harddrive
6 # SOLUTIONBASEDIR = $$member(SOLUTIONBASEDIR, 2)
7 SOLUTIONBASEDIR = $$(SOLUTIONBASEDIR)
9 # strip the trailing "..."
10 # SOLUTIONBASEDIR ~= s/\.\.\.$//
13 # win32:SOLUTIONBASEDIR ~= s.\\./.g
15 isEmpty(SOLUTIONBASEDIR):DEFINES += QT_NO_SOLUTIONS