VirtualBox

Changes between Version 74 and Version 75 of Mac OS X build instructions


Ignore:
Timestamp:
Sep 8, 2011 12:42:34 PM (13 years ago)
Author:
Christian Pötzsch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Mac OS X build instructions

    v74 v75  
    127127Next, assuming Qt is installed in /Applications/VirtualBox.app/Contents/Frameworks/, you can change the path by using this:
    128128{{{
    129 install_name_tool -id /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
    130 install_name_tool -change @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore /Applications/VirtualBox.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
     129install_name_tool -id /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui \
     130 /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
     131install_name_tool -change @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore \
     132 /Applications/VirtualBox.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore \
     133 /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
    131134}}}
    132 The first command changes the identifier of the library itself. The second changes references to other libraries. There, the first path is the old referenced path, the second one is the new path and the last path is the file to change (see man install_name_tool). Note, you need to repeat this with every library involved (at least VirtualBox.dylib, QtCore, QtGui, QtNetwork, QtOpenGl).
     135The first command changes the identifier of the library itself. The second changes references to other libraries. There, the first path is the old referenced path, the second one is the new path and the last path is the file to change (see man install_name_tool). Note, you need to repeat this with every library involved (at least !VirtualBox.dylib, !QtCore, !QtGui, !QtNetwork, !QtOpenGl).

© 2023 Oracle
ContactPrivacy policyTerms of Use