I have a project that contains a shared library and an application that use the library.
Both will be build to the same directory with CONFIG -= app_bundle.

When launching from Qt creator, the app load successfully, but when launched from Finder, it fails with "Library not loaded"

I tried adding this to the application's pro file but it doesn't help.
Qt Code:
  1. macx {
  2. QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/
  3. }
To copy to clipboard, switch view to plain text mode