當我在我的.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"
不適合我 –