How can I call shell script, while clicking of run button of QT ?
Solved
General and Desktop
-
I am working on MAC system and Qt 5.11.0.
I would like to create the application bundle for my project.My project is includes many external dependencies. So that, I am doing copy 3rd party library into bundle with help of shell script. How can I call that script while clicking on run button of Qt in release mode.
-
Hi @Yash001,
One way to do it, is to add another build step in QtCreators project settings:
Another way is to integrate this into the project itself. If you use QMake as build system, you can have a look here: https://stackoverflow.com/questions/6300148/get-qmake-to-execute-shell-script-after-build-finished-on-mac
Regards