diff options
author | Christian Tismer <tismer@stackless.com> | 2021-06-18 12:41:28 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2021-06-18 15:28:28 +0200 |
commit | fd3dbb4678526535bb3e50d39dd69d590304890b (patch) | |
tree | dcce3456992e354b4ded9573aabb600a11adf3ad /sources/shiboken6/ApiExtractor | |
parent | d84e3bbef876884de64b8ecf7b6887a248379600 (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.cpp | 12 | ||||
-rw-r--r-- | sources/shiboken6/ApiExtractor/messages.h | 3 |
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 |