dumpcpp: Don't put Qt types into the type library namespace


ActiveQt redefines three Qt types as structs in IDL files: QRect,
QPoint, and QSize. When dumpcpp is run on a type library that's created
from such an IDL file then it would write forward declarations of these
three types into the type libraries namespace. The resulting code did
not compile.

When writing forward declarations, skip these three types:
    struct QRect
    struct QPoint
    struct QSize

Also include the headers for these three classes. They are actually
already pulled in by the hard-coded qpixmap.h included, but it's more
future-proof to include these explicitly.

Fixes: QTBUG-134098
Pick-to: 6.8 6.9 6.10
Change-Id: I829e41f204216c4b2585f5a7c3940f5c400d43ab
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
commit2a3cd99c56a0fd0a154281f45825ca8513bb5fde
parent9d545d5f5df6bcffb27ce65ed271009d769a482e
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeFri, 6 Jun 2025 10:05:27 +0200