Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9.0, 6.9.1
-
Windows with latest version of VS 2022
-
-
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
- depends on
-
QTBUG-137452 compile error in moc-generated code if slot/property name equals return type name
-
- Closed
-
- relates to
-
QTBUG-136512 [Reg 6.8.3 -> 6.9.0] dumpcpp's output is uncompilable due to missing namespaces
-
- Closed
-
For Gerrit Dashboard: QTBUG-137347 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
652825,5 | dumpcpp: Qualify type names | dev | qt/qtactiveqt | Status: MERGED | +2 | +1 |
654654,2 | dumpcpp: Qualify type names | 6.10 | qt/qtactiveqt | Status: MERGED | +2 | 0 |
654732,2 | dumpcpp: Qualify type names | 6.9 | qt/qtactiveqt | Status: MERGED | +2 | 0 |