Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8551

Environment Variable - PATH

    XMLWordPrintable

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';

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hunger Tobias Hunger
            israelins85 Israel Lins Albuquerque
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes