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

no way to disable debug symbol generation with qmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0 Beta1
    • 4.8.4, 5.1.0
    • Build tools: qmake
    • None
    • Win7 x64, VS 2010
    • 7c3efdfb6ad72955543128a5a13e3f45ef3ee7af

    Description

      Without any /Z* option in CXX_FLAGS the generated Visual Studio project files don't contain a <DebugInformationFormat> tag.
      VS uses /Zi as a default then, which is pretty bad on its own as that's even a lot slower than /Z7.
      There's no way to explicitly disable it.

      VCProjectWriter::write uses disabled by default, but VCXProjectWriter omits the tag. In the 5.1 version of toString(debugOption) you even added debugUnknown and debugDisabled cases, but with the same result.
      I was able to hack it in by returning " " for debugDisabled instead of QString() which results in '<DebugInformationFormat> </DebugInformationFormat>'.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            trass3r Unk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes