Details
Description
When adding new Qt dll's to a Visual Studio (2012/11.0) project, where debug info creation for Release is enabled, the wrong Qt-dll (debug instead of release) is linked/added to the project, e.g. Qt5Cored instead of Qt5Core.
The decision debug/release is implemented in QtProject.cs:877
private static bool IsDebugConfiguration(VCConfiguration conf)
and is based on the value of linker.GenerateDebugInformation.
The decision should be based on the compiler value for the runtime library (multi threaded/-dll vs. multi threaded debug/-dll).
Attachments
For Gerrit Dashboard: QTVSADDINBUG-350 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
73689,2 | Fix release/debug build detection. | master | qt-labs/vstools | Status: MERGED | +2 | 0 |