tests/auto/solutions.pri
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     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/...)
       
     4 
       
     5 # figure out the path on your harddrive
       
     6 # SOLUTIONBASEDIR = $$member(SOLUTIONBASEDIR, 2)
       
     7 SOLUTIONBASEDIR = $$(SOLUTIONBASEDIR)
       
     8 
       
     9 # strip the trailing "..."
       
    10 # SOLUTIONBASEDIR ~= s/\.\.\.$//
       
    11 
       
    12 # replace \ with /
       
    13 # win32:SOLUTIONBASEDIR ~= s.\\./.g
       
    14 
       
    15 isEmpty(SOLUTIONBASEDIR):DEFINES += QT_NO_SOLUTIONS
       
    16