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

Qt Creator does not read .profile settings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.8.0
    • All Other Issues
    • None
    • Ubuntu 18.04 LTS
      Qt 5.12.0
      Qt Creator 4.8
    • Linux/X11

    Description

      Today I noticed that after seining up fresh Ubuntu 18.04 with Qt 5.12.0 Qt creator is not reading .profile. This was suggested in  QTCREATORBUG-21404

      Here is what I did try

      1. Open Terminal
      2. Temporarly rename ~/.bashrc to .bashrc-temp
      3. Updated ~/.profile to have only single line - source "$HOME/.bashrc-temp" 
      4. Open another terminal and check env variables (they are not there)
      5. For test in same window I sourced ~/.profile
      6. Check env variables and they are there
      7. Start Qt Creator from pinned task bar and opened project. In Projects -> Build -> Build Environment and I do not see env variables from .profile/.bashrc
      8. Quit running Qt Creator and open this time from terminal
      9. All works. So it looks like it is working 

      Attachments

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

        Activity

          People

            con Eike Ziller
            oxoocoffee Robert J. Gebis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes