[Interest] Use Qt release DLLs while debugging application

Thiago Macieira thiago.macieira at intel.com
Wed Apr 25 08:25:11 CEST 2018


On Tuesday, 24 April 2018 22:35:00 PDT Rainer Wiesenfarth wrote:
> ‚ÄčNote: You have to make sure that any other library you link against is
> using the same C runtime‚Äč

And that's exactly the problem. With MSVC, the definition of "debug" and 
"release" can take one of two meanings: optimised or not versus the runtime 
it's linking against. By default, people build non-optimised code (/Od) with 
debugging symbols (/Zi) against the debug runtime (/MDd). But you can compile 
optimised code (/O2) against the debug runtime (/MDd) and you can compile non-
optimised code with debugging symbols (/Od /Zi) against the release runtime 
(/MD).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list