aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-06-18 12:41:28 +0200
committerChristian Tismer <tismer@stackless.com>2021-06-18 15:28:28 +0200
commitfd3dbb4678526535bb3e50d39dd69d590304890b (patch)
treedcce3456992e354b4ded9573aabb600a11adf3ad /sources/shiboken6/ApiExtractor
parentd84e3bbef876884de64b8ecf7b6887a248379600 (diff)
shiboken: remove obsolete error message
This message became pointless in PySide6 because the word "iterator" no longer creates clashes in shiboken and PySide. Thanks for checking this, Friedemann! Change-Id: Ib0496039ab194049fd1f09867de1bbcfeb47d21e Pick-to: 6.1 Fixes: PYSIDE-498 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor')
-rw-r--r--sources/shiboken6/ApiExtractor/messages.cpp12
-rw-r--r--sources/shiboken6/ApiExtractor/messages.h3
2 files changed, 0 insertions, 15 deletions
diff --git a/sources/shiboken6/ApiExtractor/messages.cpp b/sources/shiboken6/ApiExtractor/messages.cpp
index e033d044d..1f79000e2 100644
--- a/sources/shiboken6/ApiExtractor/messages.cpp
+++ b/sources/shiboken6/ApiExtractor/messages.cpp
@@ -811,15 +811,3 @@ QString msgUnknownTypeInArgumentTypeReplacement(const QString &typeReplaced,
<< "', the generated code may be broken.";
return result;
}
-
-QString msgRegisterMetaTypeUnqualifiedName(const AbstractMetaClass *c,
- const char *file, int line)
-{
- QString result;
- QTextStream str(&result);
- str << c->sourceLocation() << " (" << file << ':' << line << ") FIXME:\n"
- << " The code tried to qRegisterMetaType the unqualified name "
- << "'iterator' (" << c->qualifiedCppName()
- << "). This is currently fixed by a hack(ct) and needs improvement!";
- return result;
-}
diff --git a/sources/shiboken6/ApiExtractor/messages.h b/sources/shiboken6/ApiExtractor/messages.h
index 07fab3a1d..434d33ff5 100644
--- a/sources/shiboken6/ApiExtractor/messages.h
+++ b/sources/shiboken6/ApiExtractor/messages.h
@@ -234,7 +234,4 @@ QString msgPureVirtualFunctionRemoved(const AbstractMetaFunction *f);
QString msgUnknownTypeInArgumentTypeReplacement(const QString &typeReplaced,
const AbstractMetaFunction *f);
-QString msgRegisterMetaTypeUnqualifiedName(const AbstractMetaClass *c,
- const char *file, int line);
-
#endif // MESSAGES_H