Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51101

macdeployqt codesign does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.1
    • 5.6.0 RC
    • None
    • OSX 10.11
      XCode 7.2

    Description

      While testing pre-release RC package qt-enterprise-mac-x64-clang-5.6.0-rc_270.dmg I tried to use macdeployqt with codesign option.

      Using macdeployqt without codesign on "Examples/Qt-5.6/qtbase/widgets/widgets/calculator" works fine.

      Using macdeployqy with codesign on "Examples/Qt-5.6/qtbase/widgets/widgets/calculator" gets stuck in an infinite loop, I attached the verbose log until I canceled with Ctrl+C.

      I also tried various combinations:
      code-sign-ing other package examples -> stuck in loop
      code-sign-ing with 5.5 / 5.5.1 / custom 5.6 macdeployqt on tested package example -> stuck in loop
      code-sign-ing with 5.5.1 / custom 5.6 / tested package 5.6 macdeployqt on example built not from tested package examples (so 5.5.1 kit, custom 5.6 kit) -> NOT stuck in loop

      Log: Adding framework:
      Log: Framework name "QtCore.framework"
       Framework directory "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/5.6/clang_64/lib/"
       Framework path "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/5.6/clang_64/lib/QtCore.framework"
       Binary directory "Versions/5"
       Binary name "QtCore"
       Binary path "/Versions/5/QtCore"
       Version "5"
       Install name "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/5.6/clang_64/lib/QtCore.framework/Versions/5/QtCore"
       Deployed install name "@executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore"
       Source file Path "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/5.6/clang_64/lib/QtCore.framework/Versions/5/QtCore"
       Framework Destination Directory (relative to bundle) "Contents/Frameworks/QtCore.framework"
       Binary Destination Directory (relative to bundle) "Contents/Frameworks/QtCore.framework/Versions/5"
      
      Log:
      Log: Deploying Qt frameworks found inside: ("/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/PlugIns/imageformats/libqwebp.dylib")
      Log: Created configuration file: "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Resources/qt.conf"
      Log: This file sets the plugin search path to "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/PlugIns"
      Log: Using strip:
      Log:  stripped "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/MacOS/calculator"
      Log:
      Log: Signing "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app" with identity "Croitor Alexandr"
      Log: codesign "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtWidgets.framework/Versions/5/Resources/Info.plist"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui"
      Log: Checking for "/Users/alex/Dev/qt/official_560_rc_pre_enterprise/Examples/Qt-5.6/qtbase/widgets/widgets/build-calculator-Desktop_Qt_5_6_0_clang_64bit-Debug/calculator.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore"
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes