title: dyld: Library not loaded (image not found) but it's there
body: <p>I got this error when trying to launch my Qt-application (which was deployed with macdeployqt) on another Mac.</p>
  
  <pre><code>dyld: Library not loaded: kqoauth.framework/Versions/0/kqoauth
  Referenced from: /MyProject.app/Contents/MacOS/MyProject
  Reason: image not found
  Trace/BPT trap
  </code></pre>
  
  <p>I checked the .app-bundle and copied the kqoauth.framework to a few different locations (Frameworks-folder, next to the executable file, Resources-folder) but the error remained.
  This is my project-tree:</p>
  
  <p><img src="https://i.stack.imgur.com/w4oIb.png" alt="enter image description here"></p>
  
  <p>I also tried otool -L on it and everything seems to be fine. (the entry for kqoauth.framework looked the same as those for the qt-libraries)</p>