Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59630

qmake sets /DEBUG:FASTLINK option for MSVC version < 2015

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.9.0 Beta 1
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Windows 10 64 bits
      Qt 5.8.0 64 bits
    • Commits:
      02d9225db5d286afae84876618ebf7fe7c8eaf30

      Description

      The option /DEBUG:FASTLINK has been introduced in Visual Studio 2015.
      However, qmake sometimes activates this option for older versions of Visual Studio (2013 in my case).
      This bug generates build errors in Visual Studio.

      After a quick search in the qmake code, I found the use of a uninitialized member (DebugInfoOption) in qtbase/qmake/generators/win32/msvc_objectmodel.cpp.
      I have attached a patch containing a quick fix for this bug.

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            jul JHO
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes