[Qt-creator] Error while trying to debug with qt-creator (1.2 branch) and Cdb
Justus Best
Just18 at gmx.de
Mon Jun 15 19:58:18 CEST 2009
Hi,
> Can you check Projekte ->
> Build-Einstellungen and make sure debug is checked instead of release?
It's checked but I relaize that our .pro files contain a line which says
CONFIG += release, I removed the release argument and now it seems to
work. Maybe creator should check for this config flag and ask wether to
ignore it or to change project build settings to release resp. debug.
And it also seems that creator is ignoring the pro files DESTDIR if
running debug build; don't know if its a bug or a feature on windows it
seems more like a feature but im not 100% sure.
Big thanks and regards
Justus
Daniel Molkentin schrieb:
> ext Justus Best schrieb:
>> Hi,
>>
>>> Qt Creator looks at the executable file to find out if it was compiled
>>> with msvc or mingw. The above message reveals that it thinks that your
>>> executable is compiled with mingw. Did you do a complete recompile of
>>> your existing projects, using a msvc compiled Qt?
>> Yes did a fresh checkout of the project cleaned it up manually and automaticly and never compiled with anything else then the ms compiler before. I will test it today with a native 32bit windows system, before I compiled under windows xp x64 with 32bit compiler. I let you know if anything new comes up.
>
> I can reproduce this now. It happens when you try to run the debugger on
> a release build. In this case Creator lacks the debugging information to
> judge wether the file was built with mingw or msvc (and hence cannot
> determine if it needs to run cdb). Can you check Projekte ->
> Build-Einstellungen and make sure debug is checked instead of release?
>
> Cheers,
> Daniel
More information about the Qt-creator-old
mailing list