diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-06 11:35:30 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-07 13:26:09 +0200 |
commit | fe013bdbaecd9605ebf715215cef3cd82c1a712f (patch) | |
tree | 1853e6ec6eb8dec4cc97d0f02c3ed63d3af00b09 /src/qmlcompiler/qqmljsimporter_p.h | |
parent | 3633047d812559fc91d6f6324c4677bd886ef7fd (diff) |
qmllint: Read deprecated dependency specifications from qmltypes files
And produce a warning when doing so.
Task-number: QTBUG-87164
Change-Id: I75eab97a37af1268a310e88e3ac6a625127a7f62
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsimporter_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljsimporter_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljsimporter_p.h b/src/qmlcompiler/qqmljsimporter_p.h index 245964a339..2f4d51a33c 100644 --- a/src/qmlcompiler/qqmljsimporter_p.h +++ b/src/qmlcompiler/qqmljsimporter_p.h @@ -94,7 +94,8 @@ private: AvailableTypes *types, const QString &prefix = QString(), QTypeRevision version = QTypeRevision()); - void readQmltypes(const QString &filename, QHash<QString, QQmlJSScope::Ptr> *objects); + void readQmltypes(const QString &filename, QHash<QString, QQmlJSScope::Ptr> *objects, + QList<QQmlDirParser::Import> *dependencies); Import readQmldir(const QString &dirname); QQmlJSScope::Ptr localFile2ScopeTree(const QString &filePath); |