当我macdeployqt
在我的 .app 上运行时,它会添加库,但是当您尝试启动它时会使应用程序崩溃。这在 Mac OS X 10.7 上运行良好,但在 Mac OS X 10.8 DP3 上没有任何乐趣。要安装我使用过的 Qt port install qt4-mac
(但是,我的 10.7 机器上可能有来自 Qt 网站的更旧版本的 Qt)。
命令:macdeployqt bin/Synergy.app -verbose=3
启动日志:http ://pastebin.com/i37vadB7
Log: Using install_name_tool:
Log: in "bin/Synergy.app/Contents/Frameworks//libcrypto.1.0.0.dylib"
Log: change reference "/opt/local/lib/libz.1.dylib"
Log: to "@executable_path/../Frameworks/libz.1.dylib"
ERROR: "install_name_tool: can't open input file: bin/Synergy.app/Contents/Frameworks//libcrypto.1.0.0.dylib for writing (Permission denied)
install_name_tool: can't lseek to offset: 0 in file: bin/Synergy.app/Contents/Frameworks//libcrypto.1.0.0.dylib for writing (Bad file descriptor)
install_name_tool: can't write new headers in file: bin/Synergy.app/Contents/Frameworks//libcrypto.1.0.0.dylib (Bad file descriptor)
install_name_tool: can't close written on input file: bin/Synergy.app/Contents/Frameworks//libcrypto.1.0.0.dylib (Bad file descriptor)
"
ERROR: ""
Log:
Log: Deploying plugins from "/opt/local/plugins"
Log: Created configuration file: "bin/Synergy.app/Contents/Resources/qt.conf"
Log: This file sets the plugin search path to "bin/Synergy.app/Contents/PlugIns"