The deployment tool can be found at
$ QTDIR/{VERSION}/{COMPILER}/bin/macdeployqt
How to use the macdeployqt tool using the terminal.
| Option | Description |
| -verbose=<0-3> | 0 = no output, 1 = error/warning (default), 2 = normal, 3 = debug |
| -no-plugins | Skip plugin deployment |
| -dmg | Create a .dmg disk image |
| -no-strip | Don’t run ‘strip’ on the binaries |
| -use-debug-libs | Deploy with debug versions of frameworks and plugins (implies -no-strip) |
| -executable= | Let the given executable also use the deployed frameworks |
| -qmldir= | Deploy imports used by .qml files in the given path |
$ QTDIR/{VERSION}/{COMPILER}/bin/macdeployqt <path to app file generated by build>/appFile.app