Check Projects->Run Settings and Projects->Build settings, they have
environment sections, just click details and set env vars there.

On 23 July 2010 08:32, celil <celil...@gmail.com> wrote:

> I am using cmake to build my project, and in order for my project to
> build correctly, I need to define several environment variables in
> ~/.bash_profile.
>
> However, under QtCreator it seems that the environment variables are
> never set. How can I modify the environment variables under which cmake
> is run inside QtCreator?
>
> Thanks,
> Celil
> _______________________________________________
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to