aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/typedatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typedatabase.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/typedatabase.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/typedatabase.cpp b/sources/shiboken2/ApiExtractor/typedatabase.cpp
index 76f8d0f77..8cd9eeb89 100644
--- a/sources/shiboken2/ApiExtractor/typedatabase.cpp
+++ b/sources/shiboken2/ApiExtractor/typedatabase.cpp
@@ -684,7 +684,12 @@ QDebug operator<<(QDebug d, const TypeEntry *te)
d.nospace();
d << "TypeEntry(";
if (te) {
- d << '"' << te->qualifiedCppName() << "\", type=" << te->type();
+ const QString name = te->name();
+ const QString cppName = te->qualifiedCppName();
+ d << '"' << name << '"';
+ if (name != cppName)
+ d << "\", cppName=\"" << cppName << '"';
+ d << ", type=" << te->type();
if (te->include().isValid())
d << ", include=" << te->include();
const IncludeList &extraIncludes = te->extraIncludes();