Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-1237

Wrong Build Config for Debug Lib builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • 3.3.0
    • 3.2.0
    • None
    • Windows
    • 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>

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            isshou Martin Kudlička
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes