Unsolved setup qt creator run environment on linux before debugging
-
I have a FEDORA cmake project. I need to run two scripts to setup environment:
$ source setup-environment.sh
$ install-services.sh
before running application.
Qt Creator 3.4.0 QT 5.5.0 -
Hi and welcome to devnet,
For the environment, you can set it up in the Run part of the Project panel.
What does install-services.sh do ?
-
@SGaist
It doesn't matter what these two scripts do. They can be changed.
I need to run them before I start debugging. They make sure that all required services are activated and PATH is updated. I think about putting them in .bashrc. Do you know what .bashrc is running in debug shell? Is it my (user who is debugging) environment?
Thanks. -
Debug shell ? What do you mean by that ?
When you open a new shell, the .bashrc or .profile file is loaded