util/tests/auto/solutions.pri
author eckhart.koppen@nokia.com
Wed, 31 Mar 2010 11:06:36 +0300 (2010-03-31)
changeset 7 f7bc934e204c
permissions -rw-r--r--
5cabc75a39ca2f064f70b40f72ed93c74c4dc19b
# 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