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

Build Environment prefixes /usr/bin to the PATH variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.4.1
    • None
    • GNU/Linux 2.6.32-220.4.1.el6.x86_64

      The summary basically tells it all.

      In the terminal:
      $ echo $PATH
      /some/local/dir/bin:/usr/lib64/qt4/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin

      In QtCreator, started from the same terminal, in Projects -> Build settings -> Build Environment:
      PATH /usr/bin:/some/local/dir/bin:/usr/lib64/qt4/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin

      This is for a CMake project that gets loaded through the CMakeLists.txt file. I haven't checked with any of the other types of supported projects.

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

            hunger Tobias Hunger
            jsvanbethlehem J van Bethlehem
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes