aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-04-26 11:22:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-04-26 10:51:58 +0000
commitcca93156a704711f7b9eec6603688e05af40650f (patch)
tree3e272e30c4fc9056087b4843cafd223f95ffd619 /sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.cpp
parent4d80579c49a40cbbb24bef2cb4cbe4520b7b4ca9 (diff)
Handle recursive typesystem includes
For QtMultimedia, the QMediaPlayer::setVideoOutput() overloads require including QtMultimediaWidgets' typesystem to make QVideoWidget known. This caused an endless recursion including QtMultimedia's typesystem. Fix by - ensure modifiedTypesystemFilepath() always returns an absolute path even if the file exists so that it is always matched in m_parsedTypesystemFiles - Insert current file into m_parsedTypesystemFiles at the beginning of parseFile() to detect recursion early on. Task-number: PYSIDE-487 Change-Id: I7110c9f1bf144b82a14282e94b894bfb0522ba58 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/clangparser/clangdebugutils.cpp')
0 files changed, 0 insertions, 0 deletions