Thanks for your answer.
I have not compiled Qt (it comes from the Qt installer). You mean I should compile Qt in release mode only?
In that case, I think that qmake will still add "QtCore4d.lib" and "QtCore4d.lib" references in my project in the debug configuration.
Maybe I need to explain the context:
- I need to debug my app. That's why I need to compile it in debug.
- I use a VTK (
http://www.vtk.org/) display widget and I have to use the release version of VTK even in debug for performance reasons. This version use the release version of Qt.
- Consequently I must use the release version of Qt everywhere (otherwise I have 2 qApp!)