Results 1 to 1 of 1

Thread: trying to deploy QT App with 4.8.7 and LionOS 10.7.5

  1. #1
    Join Date
    Sep 2013
    Posts
    11
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default trying to deploy QT App with 4.8.7 and LionOS 10.7.5

    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"

    ....
    @
    Attached Files Attached Files

Similar Threads

  1. how to deploy a qt app
    By yadav in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd January 2011, 01:25
  2. Deploy qt
    By Qtuser1 in forum Installation and Deployment
    Replies: 0
    Last Post: 29th December 2010, 07:56
  3. How to deploy?
    By aash_89 in forum Installation and Deployment
    Replies: 22
    Last Post: 23rd August 2010, 19:17
  4. how to deploy my application
    By yuvaraj.yadav in forum Installation and Deployment
    Replies: 5
    Last Post: 9th April 2009, 10:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.