aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/ApiExtractor/messages.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/messages.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/messages.cpp b/sources/shiboken2/ApiExtractor/messages.cpp
index 95dcda558..cbcf0986b 100644
--- a/sources/shiboken2/ApiExtractor/messages.cpp
+++ b/sources/shiboken2/ApiExtractor/messages.cpp
@@ -678,3 +678,16 @@ QString msgFallbackWarning(const QXmlStreamReader &reader, const QString &contex
message += QLatin1String(" [") + identifier + QLatin1Char(']');
return msgTagWarning(reader, context, tag, message);
}
+
+QString msgArgumentClassNotFound(const AbstractMetaFunction *func,
+ const TypeEntry *t)
+{
+ QString result;
+ QTextStream str(&result);
+ str << "Internal Error: Class \"" << t->qualifiedCppName()
+ << "\" for \"";
+ if (auto *ic = func->implementingClass())
+ str << ic->qualifiedCppName() << "::";
+ str << func->signature() << "\" not found!";
+ return result;
+}