I use Qt Creator as my main IDE for cross-platform C++ application development. In doing so I had set it up so that it depends on a set of environment variables that I define in .bashrc.
On Linux (Ubuntu specifically) that works fine but on OSX Lion I cannot get it to work. I have defined my variables in .bashrc and .bashrc is sourced inside .bash_profile. The variables are defined when I do
echo $VAR inside the terminal but when I open the IDE (from Dock) it does not recognize the variables. Does Dock not use bash to launch applications?