tests/auto/solutions.pri
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 22 Jan 2010 10:32:13 +0200
changeset 1 ae9c8dab0e3e
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201001 Kit: 201003

# 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