How to use environmental variables in Qt Creator Project Mode Run Settings
-
I'm trying to automate my deployment using the "Add deploy step" in run settings in the Project Mode in Qt Creator. I want to use macdeployqt for the relevant version of Qt so it copies the correct frameworks to my application package. I am having problems inserting an environmental variable into the command line.
BTW, I am currently using batch commands to run macdeployqt.
Here is what I have tried:

What is the correct syntax for "%{ActiveProject:QT_INSTALL_BINS}"?
Here is what I have researched so far:
https://doc.qt.io/qtcreator/creator-how-to-use-qtc-variables.html
https://stackoverflow.com/questions/35970727/use-of-variables-like-builddir-in-qtcreator-kit-settings-in-qt5A second question: once I have this working, how do I copy the deployment steps to the run settings of another build version?
Any guidance would be most appreciated.
-
C Christian Ehrlicher moved this topic from General and Desktop on