[Moved] Qt Creator and Cdb debugging
-
I set up Qtc in Win7 with msvc2010 x64 tool chain.
The problem is that I can't trigger a break point in my debugee. I think the problem is that Qtc is 32bit (only this binary is available for Windows) and debugee is 64bit and by the result call to DebugBreakProcess() fails.
So I think I need Qtc x64. Where can I get one?
-
Welcome to devnet
To use Qt with msvc2010 compiler you need to have the Qt binaries compiled with msvc2010. The msvc2008 binaries are not compatible with 2010. You may find some details "here":http://developer.qt.nokia.com/doc/qt-4.7/install-win.html However, this allows to compile the Qt lib for usage with msvc2010. You can use it with the msvc2010 IDE.
With Qt creator and the msvc2010 toolchain you would also need to compile the Qt lib with msvc2010 for your application. I would assume that something is not complete with your setup of the 2010 toolchain. Unfortunately, I have no experience with Qt creator on Windows.
If your main focus is to use Qt with an ms application, you can use msvc2010 IDE.
-
Are you doing a debug build?
-
[quote author="siavoshkc" date="1323690434"]Qtc build no.
Debuggee is of course debug build.
About 6 hours from now the result will be ready.[/quote]
Is there any result yet ....
Let us join forces at
https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6715 -
I created a "task ticket":https://bugreports.qt.nokia.com/browse/QTBUG-23102 for this issue. you should search before creating a ticket ;-)
I think it was obvious from the start that in a 64bit tool-chain everything should be 64bit. Or we are asking for trouble.
-