Details
-
Bug
-
Resolution: Out of scope
-
P5: Not important
-
None
-
Qt Creator 2.6.0
-
MacOS Mountain Lion
Description
The Problem:
In my .pro file I construct the program version like this:
MAJOR_VERSION = 1
MINOR_VERSION = 1
BUILD = 1
REVISION = $$system(svnversion -n $$PWD)
VERSION = $$sprintf(%1.%2.%3.%4, $$MAJOR_VERSION, $$MINOR_VERSION, $$BUILD, $$REVISION)
But the $$PWD is in svn format 1.7, and svn in path (changed by Qt Creator) is 1.6.
My OS is MacOs Mountain Lion.
I've installed the svn 1.7 using MacPorts, and changed my PATH to point this version first, but Qt Creator prepends in her PATH environment:
The $QTDIR/bin, thats ok to ensure the correct build links
And the /usr/bin, and that's the problem because old svn is installed in this PATH.
The solution for this will be:
Append and not prepend the '/usr/bin';