diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-02 14:13:37 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-03 15:28:13 +0000 |
commit | 0de4dffa0c5abc80df7063daf6bc9d1754891a9d (patch) | |
tree | 8a37329338fe6751c1db6668be32791158df6140 /sources/shiboken2/ApiExtractor/typesystem_p.h | |
parent | 2bbe2cdb20cc6ee77bb69a0130cd74a161601861 (diff) |
shikoben2: Extend type system path resolution
- Remove stripping of directory components from the file names so that for
example QtCore/typesystem_core.xml can also be resolved via type system
path.
- In addition, pass in the path of the current file being parsed so that
for example typesystem_core_x11.xml is found from the directory
of typesystem_core.xml while parsing
Change-Id: Id10aafaf21750aa87460ccfe9ee3c3764086eda6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typesystem_p.h')
-rw-r--r-- | sources/shiboken2/ApiExtractor/typesystem_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/typesystem_p.h b/sources/shiboken2/ApiExtractor/typesystem_p.h index d485aad42..fd67ef49b 100644 --- a/sources/shiboken2/ApiExtractor/typesystem_p.h +++ b/sources/shiboken2/ApiExtractor/typesystem_p.h @@ -172,6 +172,7 @@ private: QHash<QString, StackElement::ElementType> tagNames; QString m_currentSignature; + QString m_currentPath; }; #endif |