[Qt-creator] How to include .bashrc on run/debug

Tiemen Schut T.Schut at sron.nl
Thu Feb 19 14:19:34 CET 2009


Hi all,

First of all, I would like to say that I see great potential in qt-creator as a lightweight IDE. I just started trying it out on my biggest project, and everything looks quite good so far.

I do have one problem however. Normally, I run my executable from a terminal, which means .bashrc has been sourced. I need certain environment variables from that. However, when running/debugging from qt-creator it obviously does not include .bashrc, which limits my application and therefore my debugging capabilities.

Does anyone know a solution to this, other than still running from xterm and attaching the debugger to the process?

Thanks,

Tiemen





More information about the Qt-creator-old mailing list