Hello Gurus,
i am trying to deploy my first qt app but i face some difficulties and would appreciate if any body can help
I build the app and through the terminal while being in the build folder, i wanted to sign the app and gave make codesign;
but it does not complete ... The following errors are shown,
I am attaching the complete output file ..
@
Sherif:build-login-QT_4_87_7-Release sherifomran$ make codesign;Makefile:694: warning: overriding commands for target `ui_login.h'
Makefile:663: warning: ignoring old commands for target `ui_login.h'
/Developer/Tools/QT/macdeployqt "login.app" -verbose=3; dsymutil "login.app/Contents/MacOS/login" -o "login.app.dSYM"; codesign -f -s "3rd Party Mac Developer Application: Sherif Omran" -i com.ArabicTypingTutor.ArabicTypingTutorPro "login.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"; codesign -f -s "3rd Party Mac Developer Application: Sherif Omran" -i com.ArabicTypingTutor.ArabicTypingTutorPro "login.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"; codesign -f -s "3rd Party Mac Developer Application: Sherif Omran" -i com.ArabicTypingTutor.ArabicTypingTutorPro "login.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport"; codesign -f -s "3rd Party Mac Developer Application: Sherif Omran" -i com.ArabicTypingTutor.ArabicTypingTutorPro "login.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets"; codesign -f -s "3rd Party Mac Developer Application: Sherif Omran" -v --entitlements ../ArabicTypingTutor/MyEntitlements.plist "login.app";
Log: Using otool:
Log: inspecting "login.app/Contents/MacOS/login"
Log: Adding framework:
Log: Framework name "QtSql.framework"
Framework directory "/Library/Frameworks/"
Framework path "/Library/Frameworks/QtSql.framework"
Binary directory "Versions/4"
Binary name "QtSql"
Binary path "/Versions/4/QtSql"
Version "4"
Install name "QtSql.framework/Versions/4/QtSql"
Deployed install name "@executable_path/../Frameworks/QtSql.framework/Versions/4/QtSql"
Source file Path "/Library/Frameworks/QtSql.framework/Versions/4/QtSql"
Destination Directory (relative to bundle) "Contents/Frameworks/QtSql.framework/Versions/4"
Log: Adding framework:
Log: Framework name "QtCore.framework"
Framework directory "/Library/Frameworks/"
Framework path "/Library/Frameworks/QtCore.framework"
Binary directory "Versions/4"
Binary name "QtCore"
Binary path "/Versions/4/QtCore"
Version "4"
Install name "QtCore.framework/Versions/4/QtCore"
Deployed install name "@executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore"
Source file Path "/Library/Frameworks/QtCore.framework/Versions/4/QtCore"
Destination Directory (relative to bundle) "Contents/Frameworks/QtCore.framework/Versions/4"
Log: Adding framework:
Log: Framework name "QtGui.framework"
Framework directory "/Library/Frameworks/"
Framework path "/Library/Frameworks/QtGui.framework"
Binary directory "Versions/4"
Binary name "QtGui"
Binary path "/Versions/4/QtGui"
Version "4"
Install name "QtGui.framework/Versions/4/QtGui"
Deployed install name "@executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui"
Source file Path "/Library/Frameworks/QtGui.framework/Versions/4/QtGui"
Destination Directory (relative to bundle) "Contents/Frameworks/QtGui.framework/Versions/4"
Log: Adding framework:
Log: Framework name "QtNetwork.framework"
Framework directory "/Library/Frameworks/"
Framework path "/Library/Frameworks/QtNetwork.framework"
Binary directory "Versions/4"
Binary name "QtNetwork"
Binary path "/Versions/4/QtNetwork"
Version "4"
Install name "QtNetwork.framework/Versions/4/QtNetwork"
Deployed install name "@executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork"
Source file Path "/Library/Frameworks/QtNetwork.framework/Versions/4/QtNetwork"
Destination Directory (relative to bundle) "Contents/Frameworks/QtNetwork.framework/Versions/4"
Log:
Log: Deploying Qt frameworks found inside: ("login.app/Contents/MacOS/login")
Log: Using install_name_tool:
Log: in "login.app/Contents/MacOS/login"
Log: change reference "QtSql.framework/Versions/4/QtSql"
Log: to "@executable_path/../Frameworks/QtSql.framework/Versions/4/QtSql"
ERROR: "install_name_tool: object: login.app/Contents/MacOS/login malformed object (unknown load command 4)
"
ERROR: ""
Log: copied: "/Library/Frameworks/QtSql.framework/Versions/4/QtSql"
Log: to "login.app/Contents/Frameworks/QtSql.framework/Versions/4/QtSql"
Log: Using strip:
Log: stripped "login.app/Contents/Frameworks/QtSql.framework/Versions/4/QtSql"
Log: Using install_name_tool:
Log: change identification in "login.app/Contents/Frameworks/QtSql.framework/Versions/4/QtSql"
Log: to "@executable_path/../Frameworks/QtSql.framework/Versions/4/QtSql"
ERROR: "install_name_tool: object: login.app/Contents/Frameworks/QtSql.framework/Versions/4/QtSql malformed object (unknown load command 5)
"
ERROR: ""
Log: Using otool:
Log: inspecting "login.app/Contents/Frameworks/QtSql.framework/Versions/4/QtSql"
Log: Adding framework:
Log: Framework name "QtCore.framework"
Framework directory "/Library/Frameworks/"
Framework path "/Library/Frameworks/QtCore.framework"
Binary directory "Versions/4"
Binary name "QtCore"
Binary path "/Versions/4/QtCore"
Version "4"
Install name "QtCore.framework/Versions/4/QtCore"
Deployed install name "@executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore"
Source file Path "/Library/Frameworks/QtCore.framework/Versions/4/QtCore"
Destination Directory (relative to bundle) "Contents/Frameworks/QtCore.framework/Versions/4"
....
@
Bookmarks