PDA

View Full Version : swapping between the environment variables in qt creator



BigThrum
1st September 2017, 19:40
I have two library versions of opencv setup on my windows pc.

in Qmake I can build my opencv cpp code without errors, but I can only run the code successfully using the most recent opencv environmental variable in the path. How can I switch the environmental variable in qt creator to any of my libraries.

thanks

BT

wysota
3rd September 2017, 12:23
You can setup multiple run configurations for your project (Projects -> Name of kit you use -> Run) where each of them has different environment configured.