[Qt-interest] 4.7, macdeployqt, and OS X 10.5

Stephen Chu stephen at ju-ju.com
Thu May 20 19:06:26 CEST 2010


I am getting errors like there when using macdeployqt in 4.7 beta:

ERROR: "strip: for architecture x86_64 object: 
/Users/stephenchu/OUTTest-build/Release/OUTTest.app/Contents/Frameworks/Q
tGui.framework/Versions/4/QtGui malformed object (unknown load command 5)
" 
ERROR: "" 
ERROR: "install_name_tool: for architecture x86_64 object: 
/Users/stephenchu/OUTTest-build/Release/OUTTest.app/Contents/Frameworks/Q
tGui.framework/Versions/4/QtGui malformed object (unknown load command 5)
" 

I did some search and find this bug: 
<http://bugreports.qt.nokia.com/browse/QTBUG-9318>

Basically, Cocoa binaries are build with Xcode 3.2 tools that are only 
available in OS X 10.6. And using tools from Xcode 3.1 in OS X 10.5 will 
always result in these error.

So does this mean the minimum development OS of 4.7 is now 10.6? I can 
debug the app and run the release build on my 10.5 system but I can not 
deploy it anymore.

-- 
Stephen Chu



More information about the Qt-interest-old mailing list