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

Unable to rebuild the debugger using a static version of Qt built with MinGW

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Qt Creator 1.3.83 (2.0.0-beta)
    • Debugger
    • None
    • Windows XP

    Description

      The static Qt version is being picked up by QtCreator, but when trying to rebuild the debugger in the Options dialog the following error shows:

      Configure line was: configure.exe -static -no-webkit -no-phonon

      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qlist.h:649: undefined reference to `_imp___Z5qFreePv'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qlist.h:649: undefined reference to `_imp___Z5qFreePv'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qlist.h:604: undefined reference to `_imp___ZN9QListData7detach3Ev'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qlist.h:608: undefined reference to `_imp___Z5qFreePv'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qlist.h:264: undefined reference to `_imp___Z9qt_assertPKcS0_i'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qlist.h:266: undefined reference to `_imp___Z9qt_assertPKcS0_i'
      tmp/obj/debug_static/gdbmacros.o: In function `QMap':
      C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qmap.h:164: undefined reference to `_imp___ZN8QMapData11shared_nullE'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qmap.h:632: undefined reference to `_imp___ZN8QMapData16continueFreeDataEi'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qmap.h:428: undefined reference to `_imp___ZN8QMapData11node_createEPPNS_4NodeEii'
      tmp/obj/debug_static/gdbmacros.o:C:\Qt\4.6.2-static\qt-everywhere-commercial-src-4.6.2\qtc-debugging-helper/../include/QtCore/../../src/corelib/tools/qmap.h:729: undefined reference to `_imp___ZN8QMapData10createDataEi
      '
      collect2: ld returned 1 exit status
      mingw32-make[1]: *** [debug\gdbmacros.dll] Error 1
      mingw32-make[1]: Leaving directory `C:/Qt/4.6.2-static/qt-everywhere-commercial-src-4.6.2/qtc-debugging-helper'
      mingw32-make: *** [debug-all] Error 2
      

      C:\>gcc -v
      Using built-in specs.
      Target: mingw32
      Configured with: ../gcc-4.4.0/configure --enable-languages=c,ada,c+,fortran,java,objc,obj-c+ --disable-sjlj-exceptions --enable-shared --enable-libgcj --enable-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --prefix=/mingw --with-gmp=/mingw/src/gmp/root --with-mpfr=/mingw/src/mpfr/root --build=mingw32
      Thread model: win32
      gcc version 4.4.0 (GCC)

      Attachments

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

        Activity

          People

            hjk hjk
            bholm Benedikte Holm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes