Here's what I use for my app bundle projects:
I then run macdeployqt to copy the frameworks/libraries/plugins into the app bundle. Works great, no need to run install_name_tool separately.Qt Code:
QMAKE_LFLAGS = -Wl,-rpath,@executable_path/../FrameworksTo copy to clipboard, switch view to plain text mode
Bookmarks