Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. diff --git a/qttools/src/macdeployqt/shared/shared.cpp b/qttools/src/macdeployqt/shared/shared.cpp
  2. index 5577265..2d614cb 100644
  3. --- a/qttools/src/macdeployqt/shared/shared.cpp
  4. +++ b/qttools/src/macdeployqt/shared/shared.cpp
  5. @@ -803,6 +803,10 @@ void changeInstallName(const QString &bundlePath, const FrameworkInfo &framework
  6. deployedInstallName = framework.deployedInstallName;
  7. }
  8. changeInstallName(framework.installName, deployedInstallName, binary);
  9. + QString canonicalInstallName = QFileInfo(framework.installName).canonicalFilePath();
  10. + if (canonicalInstallName != framework.installName) {
  11. + changeInstallName(canonicalInstallName, deployedInstallName, binary);
  12. + }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement