Changes between Version 74 and Version 75 of Mac OS X build instructions
- Timestamp:
- Sep 8, 2011 12:42:34 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Mac OS X build instructions
v74 v75 127 127 Next, assuming Qt is installed in /Applications/VirtualBox.app/Contents/Frameworks/, you can change the path by using this: 128 128 {{{ 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 129 install_name_tool -id /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui \ 130 /Applications/VirtualBox.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui 131 install_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 131 134 }}} 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).135 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).