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

App cannot run on MacOS when compiled in Debug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.6
    • 5.12.5
    • Build System
    • None
    • MacOS Mojave 10.14.6
      Qt 5.12.5 and QtCreator 4.10.0
    • macOS
    • afec5935ea811755c14683a162868b1a5cfb7ed5 (qt/qtbase/5.12)

    Description

      MacOS Mojave 10.14.6

      Qt 5.12.5 and QtCreator 4.10.0 (Note: Qt 5.12.4 is OK)

      When compiled in debug, the Qt app cannot be run. It complains as follows:

      objc[51382]: Class QMacAutoReleasePoolTracker is implemented in both /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x10378e200) and /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x102528de8). One of the two will be used. Which one is undefined.

      objc[51382]: Class QT_ROOT_LEVEL_POOL__THESE_OBJECTS_WILL_BE_RELEASED_WHEN_QAPP_GOES_OUT_OF_SCOPE is implemented in both /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x10378e278) and /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x102528e60). One of the two will be used. Which one is undefined.

      objc[51382]: Class KeyValueObserver is implemented in both /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x10378e2a0) and /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x102528e88). One of the two will be used. Which one is undefined.

      objc[51382]: Class RunLoopModeTracker is implemented in both /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x10378e2f0) and /Users/jinming/Qt/5.12.5/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x102528ed8). One of the two will be used. Which one is undefined.

      QML debugging is enabled. Only use this in a safe environment.

      qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.

      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

       

      Available platform plugins are: cocoa, minimal, offscreen.

       

      10:47:09: The program has unexpectedly finished.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              jimmyzju Jimmy Chen
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes