[Qt-creator] Debugging in Win32

Greg Santucci thecodewitch at yahoo.com
Wed Nov 5 13:26:26 CET 2008


I didn't change any settings in Qt Creator, so I thought it would be using
the MingW gcc compiler and gdb debugger by default. When I look at the
compiler log, it clearly shows the MingW g++ compiler is being used. I
don't even know how to configure Qt Creator to use msvc compiler and
debugger.

Extra information: I had Visual Studio C++ Express Edition installed when
I installed Qt Creator.

--- On Wed, 11/5/08, Kai Koehne <kai.koehne at nokia.com> wrote:

> From: Kai Koehne <kai.koehne at nokia.com>
> Subject: Re: [Qt-creator] Debugging in Win32
> To: qt-creator at trolltech.com, "thecodewitch at yahoo.com" <thecodewitch at yahoo.com>
> Date: Wednesday, November 5, 2008, 10:22 PM
> On Wednesday 05 November 2008 12:13:12 ext Greg Santucci
> wrote:
> > I'm running the Windows version on an XP machine,
> and the debugger doesn't
> > work.
> >
> > Steps to reproduce:
> >
> > 1) Make a new Qt4 Gui project
> >
> > 2) Set a breakpoint in the constructor of MainWindow
> >
> > 3) Hit debug
> >
> > Witness it compile, but the debug never commences. The
> compiled program
> > does run though. Breakpoints placed in the main
> function do work though,
> > but the debugger takes some time to start.
> 
> Hi,
> 
> You are probably using the Microsoft compiler. We currently
> only support gdb 
> as our debugger backend, and gdb only supports executables
> compiled with gcc 
> ... For the time being, you have to use mingw/gcc to
> compile, otherwise you 
> will not be able to debug. Sorry if this restriction was
> not made clear enough 
> (I think it's in the list of known issues).
> 
> Regards
> 
> Kai Koehne
> 
> PS: Yes, a msvc backend for the debugger is on the todo
> list. But we cannot 
> promise anything regarding the time frame.
> 
> -- 
> Kai Köhne
> Software Engineer
> Nokia, Qt Software


      




More information about the Qt-creator-old mailing list