Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
3.2.0
-
None
-
-
4edeb3b0c (dev), 8b5d97df6 (dev)
Description
I have defined these configuration in project
- Debug
- Debug Lib
- Release
- Release Lib
That means this projects builds as lib or dll. The project also depends on Qt.
The problem is that default value for Qt Project Settings/Build Config is release for Debug Lib configuration. This is because of these lines in qt_default.props:
<!--// Qt build config --> <QtBuildConfig Condition="'$(Configuration)' == 'Debug'">debug</QtBuildConfig> <QtBuildConfig Condition="'$(Configuration)' != 'Debug'">release</QtBuildConfig>
I would suggest to change this condition to contain also '$(Configuration)' == 'Debug Lib' or (maybe better) change it to
<!--// Qt build config --> <QtBuildConfig Condition="'$(UseDebugLibraries)' == 'true'">debug</QtBuildConfig> <QtBuildConfig Condition="'$(UseDebugLibraries)' != 'true'">release</QtBuildConfig>