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

Provide sufficient debug symbols with the pre-built binaries for Qt

    XMLWordPrintable

Details

    Description

      Debug symbols are necessary for debugging and profiling.

      On windows we need the .pdb files and on linux debug symbols can be delivered in separate files, too. The configure options for producing those (at least on linux) are "-force-debug-info -separate-debug-info". The resulting debug symbols could than be delivered as separate packages so that people who don't need them don't have to install them.

      On Windows PDBs can be generated by adding these flags for VS configuration:

      1. -Zi flag for compiler. It tells C compiler to create a "program database" debug information.

      2. /DEBUG /OPT:REF flags for linker. /DEBUG turns on the creation of PDB and /OPT:REF tells the linker to eliminate unreferenced data (this debug info) from a DLL.

      We need to check if our configure options already do this. If not, they should be fixed.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-3934
          # Subject Branch Project Status CR V

          Activity

            People

              aksalova Akseli Salovaara
              cattell Matthew Cattell (Inactive)
              Votes:
              61 Vote for this issue
              Watchers:
              55 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: