To copy the executable file to a more convenient place at each compilation, go to the project settings and select the build stage.
Enter an absolute location, for example: ~ / Documents / dev / temp. (It recognizes ~ as the current home directory of users)
Then click the "+" button in the "Copy Files" section and select "File" (select "Run" in the "Products" folder)
Uncheck "Copy only during installation." Then create and it should be in this place.
To run only the terminal application and go to this place. The executable file should be launched if it does not have dynamic libraries that are not in the lib path.
Hope this helps
source share