Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7558

Cannot build debug dumper on Mac OS X with Qt 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.6.0-rc
    • Qt Creator 2.5.0
    • Debugger
    • None
    • Mac OS X 10.7.4, Xcode 4.3.2, Qt 5

    Description

      In stall Qt 5 and debug dumper can no longer be built. The recent container refector changes the internals, causing it to fail:

      Building helper(s) with toolchain 'Clang'...
      Building helper 'GDB helper' in /Qt/5.0/qtbase/qtc-debugging-helper/
      
      
      Running /Qt/5.0/qtbase/bin/qmake -spec macx-clang dumper.pro -nocache CONFIG+=x86_64 ...
      
      Running /usr/bin/make all -k ...
      Error running '/usr/bin/make all -k' in /Qt/5.0/qtbase/qtc-debugging-helper/: The process returned exit code 2:
      clang++ -c -pipe -mmacosx-version-min=10.6 -stdlib=libc++ -g -gdwarf-2 -Wall -W -fPIC -DUSE_QT_CORE=1 -DUSE_QT_GUI=1 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../mkspecs/macx-clang -I. -I../include/QtCore -I../include/QtGui -I../include/QtWidgets -I../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/Qt/5.0/qtbase/lib -o dumper.o dumper.cpp
      dumper.cpp:3067:5: error: unknown type name 'QVectorData'; did you mean 'QVectorPath'?
          QVectorData *v = *reinterpret_cast<QVectorData *const*>(d.data);
          ^~~~~~~~~~~
          QVectorPath
      ../include/QtGui/../../src/gui/painting/qpainterpath.h:64:7: note: 'QVectorPath' declared here
      class QVectorPath;
            ^
      dumper.cpp:3067:40: error: unknown type name 'QVectorData'; did you mean 'QVectorPath'?
          QVectorData *v = *reinterpret_cast<QVectorData *const*>(d.data);
                                             ^~~~~~~~~~~
                                             QVectorPath
      ../include/QtGui/../../src/gui/painting/qpainterpath.h:64:7: note: 'QVectorPath' declared here
      class QVectorPath;
            ^
      dumper.cpp:3070:47: error: member access into incomplete type 'QVectorPath'
          const unsigned typeddatasize = (char *)(&v->offset) - (char *)v;
                                                    ^
      ../include/QtGui/../../src/gui/painting/qpainterpath.h:64:7: note: forward declaration of 'QVectorPath'
      class QVectorPath;
            ^
      dumper.cpp:3078:15: error: member access into incomplete type 'QVectorPath'
          int nn = v->size;
                    ^
      ../include/QtGui/../../src/gui/painting/qpainterpath.h:64:7: note: forward declaration of 'QVectorPath'
      class QVectorPath;
            ^
      4 errors generated.
      make: *** [dumper.o] Error 1
      make: Target `all' not remade because of errors.
      Build failed.
      

      Attachments

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

        Activity

          People

            hjk hjk
            stephenju Stephen Chu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes