diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-31 10:32:25 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-31 12:39:58 +0000 |
commit | cd3f41774909b0d773baaa0e649b0561cfdb08e6 (patch) | |
tree | 0014484bdbd19ba2c62295577af81c7a8338c014 /sources/shiboken2 | |
parent | 2ddbcfdfe0898e77bb9d192212986005888a97e9 (diff) |
shiboken: Suppress warnings about missing types for dropped entries
Fix warnings in case Qt is not built with SCTP:
qt.shiboken: (network) type 'QSctpServer' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
qt.shiboken: (network) type 'QSctpSocket' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
Change-Id: I0352e34011f2123e08fe3330a53dcdadc468d6a9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2')
-rw-r--r-- | sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp b/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp index 14f6806fe..15700e91e 100644 --- a/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp +++ b/sources/shiboken2/ApiExtractor/abstractmetabuilder.cpp @@ -572,6 +572,7 @@ void AbstractMetaBuilderPrivate::traverseDom(const FileModelItem &dom) TypeEntry *entry = it.value(); if (!entry->isPrimitive()) { if ((entry->isValue() || entry->isObject()) + && !types->shouldDropTypeEntry(entry->qualifiedCppName()) && !entry->isString() && !entry->isChar() && !entry->isContainer() |