Is there a way to set PATH variable when run/debug executable? #3325
-
I use vscode and this plugin on qt projects, everything works ok , except that I can not launch the built exeutable when click the Launch button in status bar. because the executable can not find qt library needed. I have to set PATH variable manually in the failed termimal, and run again to launch the program. $env:PATH="$env:PATH;C:\Qt\5.15.2\msvc2019_64\bin" Is there a way/setting to set PATH environment when run the built executable ? |
Beta Was this translation helpful? Give feedback.
Answered by
gcampbell-msft
Aug 6, 2024
Replies: 1 comment
-
There are a couple of options here:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gcampbell-msft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a couple of options here:
cmake.debugConfig
in your settings.json and customize your configuration.