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

dumpcpp skips namespace and creates syntaxes errors

    XMLWordPrintable

Details

    • Windows
    • 415da4185 (dev), b434bf90f (6.10), fcf528163 (6.9)

    Description

      Since Qt 6.9, dumpcpp generates syntaxically wrong CPP files (at least for Excel and Outlook).

       

      As you can see on the diff below, dumpcpp 6.9+ doesn't fully name the classes anymore, which leads to syntax errors as the compiler does not know what is a `Shape`. Manually changing it to `Excel::Shape` as it is done in Qt 6.8 will make it work.

       

      I have attached the generated files below. They have been generated with

      ```batch

      ./dumpcpp "C:/Program Files/Microsoft Office/root/Office16/excel.exe"

      ./dumpcpp "C:/Program Files/Microsoft Office/root/Office16/MSOUTL.OLB"

      ```

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              remidu Rémi Ducceschi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes