New flag: -a MyApp.app (or --app MyApp.app) automatically adds the main executable (in MyApp.app/Contents/MacOS/) to the list of files to fix up.
If the '-a' flag is used, set the default destination to MyApp.app/Contents/Frameworks and default install name prefix to @executable_path/../Frameworks as per Apple's app bundle structure guidelines. If the '-a' flag is not used, the default destination & install name prefix are set to ./libs@executable_path/../libs respectively (same as current defaults).
New flag: -f, --frameworks bundles (copies and fixes) dependencies that are frameworks.
If there are Qt framework libraries, copy any needed Qt plugins to MyApp.app/Contents/PlugIns/ and output a qt.conf file in MyApp.app/Contents/Resources. Running macdeployqt is no longer needed.
Use otool -l to gather dependent libraries (LC_LOAD_DYLIB) instead of otool -L because the latter output contains the ID and weakly linked dylibs.
Bundled libraries ID (prefix) is set to @rpath/ instead of the default install name prefix.
Dependencies with run-time paths (@loader_path/@rpath) are resolved automatically.
-a MyApp.app
(or--app MyApp.app
) automatically adds the main executable (in MyApp.app/Contents/MacOS/) to the list of files to fix up.MyApp.app/Contents/Frameworks
and default install name prefix to@executable_path/../Frameworks
as per Apple's app bundle structure guidelines. If the '-a' flag is not used, the default destination & install name prefix are set to./libs
@executable_path/../libs
respectively (same as current defaults).-f, --frameworks
bundles (copies and fixes) dependencies that are frameworks.MyApp.app/Contents/PlugIns/
and output a qt.conf file inMyApp.app/Contents/Resources
. Runningmacdeployqt
is no longer needed.otool -l
to gather dependent libraries (LC_LOAD_DYLIB) instead ofotool -L
because the latter output contains the ID and weakly linked dylibs.@rpath/
instead of the default install name prefix.-q, --quiet
for less verbose output