summaryrefslogtreecommitdiff
path: root/tests/auto/solutions.pri
blob: bcffb643229d625bee68005e4f3e1fd47642262c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# use p4 where to get the solutions base dir.
# need to check for "..." since p4 behaves differently between versions
# SOLUTIONBASEDIR = $$system(p4 where //depot/addons/main/...)

# figure out the path on your harddrive
# SOLUTIONBASEDIR = $$member(SOLUTIONBASEDIR, 2)
SOLUTIONBASEDIR = $$(SOLUTIONBASEDIR)

# strip the trailing "..."
# SOLUTIONBASEDIR ~= s/\.\.\.$//

# replace \ with /
# win32:SOLUTIONBASEDIR ~= s.\\./.g

isEmpty(SOLUTIONBASEDIR):DEFINES += QT_NO_SOLUTIONS