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

[Reg 5.11->5.12] Designer integration in Qt Creator crashes when built in debug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.0
    • 5.12.0 Beta 4
    • Tools: Designer
    • None
    • macOS

    Description

      When compiling Qt Creator in debug, the integrated .ui Designer crashes at initialization (e.g. when opening a .ui file).

      objc[20830]: Class QMacAutoReleasePoolTracker is implemented in both ***/QtOnline/5.12.0/clang_64/lib/QtCore.framework/Versions/5/QtCore_debug (0x10fc5fc20) and ***/QtOnline/5.12.0/clang_64/lib/QtCore.framework/Versions/5/QtCore (0x136b78068). One of the two will be used. Which one is undefined.
      ...
      QPixmap: Must construct a QGuiApplication before a QPixmap
      

      It looks like some code path in Qt Designer loads release libraries which in turn pull in release Qt frameworks, which leads to duplicate symbols.

      This is probably related to the change https://codereview.qt-project.org/222788 in Qt 5.12 that applications now directly link against the debug version of frameworks when built in debug.

      Attachments

        1. qtbug71965_win.jpg
          172 kB
          Friedemann Kleint

        Issue Links

          For Gerrit Dashboard: QTBUG-71965
          # Subject Branch Project Status CR V

          Activity

            People

              vestbo Tor Arne Vestbø
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes