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

Release project with debug info enabled links wrong qt dll's

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.2.3
    • 1.2.2
    • General
    • None
    • Windows7 (x86_64), Visual Studio 2012/11.0, qt-vs-addin-1.2.2-opensource
    • dbef166874f78f11ce5e77cb65e4562be1866b28

    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

        Activity

          People

            ishaataj Ismo Haataja
            p_seiderer Peter Seiderer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: