当我在我的.app上运行macdeployqt
时,它添加了库文件,但是当您尝试启动它时会导致应用程序崩溃。这适用于Mac OS X 10.7,但在Mac OS X 10.8 DP3上没有任何喜悦。要安装Qt,我已经使用了port install qt4-mac
(但是,我可能会在Qt网站的10.7机器上安装Qt的旧版本)。为什么macdeployqt给出错误“无法打开输入文件”?
命令:macdeployqt bin/Synergy.app -verbose=3
Enite日志: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"
不适合我 –