title: Qt 5.1 and Mac: Bug making macdeployqt not working properly
body: <p>I have a problem since the version <code>5.1rc2</code> of <code>Qt</code> for Mac OS X. (5.1 is also affected, not the 5.1rc1)<br>
  When I build my app and do a <code>otool -L</code> on the binary file to see the paths of the shared libraries, I get: (it's just a sample, I removed some of them for clarity)  </p>
  
  <pre><code>/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 
      (compatibility version 45.0.0, current version 1187.37.0)
  /Users/chris/**Qt5.1.0//5.1.0**/clang_64/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets
      (compatibility version 5.1.0, current version 5.1.0)
  /Users/chris/Qt5.1.0//5.1.0/clang_64/lib/QtQuick.framework/Versions/5/QtQuick
      (compatibility version 5.1.0, current version 5.1.0)
  /Users/chris/Qt5.1.0//5.1.0/clang_64/lib/QtQml.framework/Versions/5/QtQml
      (compatibility version 5.1.0, current version 5.1.0)
  /Users/chris/Qt5.1.0//5.1.0/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork
      (compatibility version 5.1.0, current version 5.1.0)
  /Users/chris/Qt5.1.0//5.1.0/clang_64/lib/QtCore.framework/Versions/5/QtCore
      (compatibility version 5.1.0, current version 5.1.0)
  /Users/chris/Qt5.1.0//5.1.0/clang_64/lib/QtGui.framework/Versions/5/QtGui
      (compatibility version 5.1.0, current version 5.1.0)
  </code></pre>
  
  <p>As you can see there is a double slash in the paths of the Qt libraries.
  When I use macdeployqt to deploy my app, those paths aren't changed to local frameworks (@executable_path/../Frameworks/...), because of this...
  I have to do it manually with the install_name_tool, and it's really annoying.</p>
  
  <p>What can I do to fix this? (I've tried re-installing Qt, cleaning, runing qmake again and rebuilding without change)</p>