diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-10-23 10:14:35 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-18 16:07:20 +0100 |
commit | 4d12849bc72cd54f4aec3118f9daf89af156e2c2 (patch) | |
tree | ec64d07e9cac3d49456bf25ffe590e1edc801f9e /sources/shiboken2/ApiExtractor/messages.cpp | |
parent | ea02836aa048cfdd853122273f25a5a2c2d7d493 (diff) |
shiboken: Give the type system entries a pointer to their parent
This helpful when building the qualified names including
namepaces whose names may not appear (due to them being C++ inline
namespaces or generation being disabled).
With this, an accessor to the type system entry can be added,
which helps to avoid ambiguities.
Task-number: PYSIDE-990
Task-number: PYSIDE-1074
Change-Id: I7dce742770fbdbbc6ed0c3fce5120108dd12ffc4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Renato Araujo Oliveira Filho <renato.araujo@kdab.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/messages.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/messages.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/messages.cpp b/sources/shiboken2/ApiExtractor/messages.cpp index b571c08b9..b60e1f73b 100644 --- a/sources/shiboken2/ApiExtractor/messages.cpp +++ b/sources/shiboken2/ApiExtractor/messages.cpp @@ -475,6 +475,11 @@ QString msgInvalidRegularExpression(const QString &pattern, const QString &why) return QLatin1String("Invalid pattern \"") + pattern + QLatin1String("\": ") + why; } +QString msgNoRootTypeSystemEntry() +{ + return QLatin1String("Type system entry appears out of order, there does not seem to be a root type system element."); +} + // qtdocgenerator.cpp QString msgTagWarning(const QXmlStreamReader &reader, const QString &context, |