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

Included MinGW version is not able to create a usable debug build of Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.2.0
    • Packaging & Installer
    • None
    • Windows 8.1

    Description

      http://download.qt-project.org/official_releases/qt/5.2/5.2.0/qt-windows-opensource-5.2.0-mingw48_opengl-x86-offline.exe

      Using the MinGW version that comes with the official Qt 5.2 installer, I was not able to produce a working debug build of Qt Creator. Trying to run such a build under GDB results in the following error message:

      qmake.exe -r "CONFIG+=debug"
      [...]
      mingw32-make.exe -j 9
      [...]
      gdb bin\qtcreator.exe
      
      GNU gdb (GDB) 7.5.1
      Copyright (C) 2012 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "i686-w64-mingw32".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from c:\Users\peter\Develop\repos\qt-creator_build\bin\qtcreator.exe...done.
      (gdb) run
      Starting program: c:\Users\peter\Develop\repos\qt-creator_build\bin\qtcreator.exe
      [New Thread 4372.0xe7c]
      warning: SHIMVIEW: ShimInfo(Complete)
      
      ../../../../src/gdb-7.5.1/gdb/utils.c:1081: internal-error: virtual memory exhausted: can't allocate 6434006 bytes.
      A problem internal to GDB has been detected,
      further debugging may prove unreliable.
      

      A solution that I found, is to use this custom 64bit build of Qt and the included MinGW version (64bit, SEH):

      http://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/Qt-Builds/x64-Qt-5.2.0%2BQtCreator-3.0.0-%28gcc-4.8.2-seh%29.7z/download

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              eszlari Peter Eszlari
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes