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

App cannot run on MacOS when compiled in Debug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.5
    • Fix Version/s: 5.12.6
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      MacOS Mojave 10.14.6
      Qt 5.12.5 and QtCreator 4.10.0
    • Platform/s:
      macOS
    • Commits:
      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

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              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