diff options
author | Christian Kamm <mail@ckamm.de> | 2020-05-10 15:57:22 +0200 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2020-05-21 07:53:44 +0000 |
commit | f64146741df05d7da7429f66af079b24c11cc3ca (patch) | |
tree | d83e5f5bfbf482029afd52a56e3da47bdec04b6f /src/libs/qmljs/qmljsplugindumper.cpp | |
parent | 338fa26bc37ab1180090c3d7b58c5097cb10e70e (diff) |
QmlJS: Use "import" commands from qmldir files
qmldir files can have lines like "import QtQml". These were already
parsed, but not stored in LibraryInfo. Store them.
When imports are resolved in Link and a library has such an import, also
load the module it refers to, with the same version and "as" scope.
Add a test to verify the behavior works.
Change-Id: I80b260bfaa36a9e5de0849fa5632b3361077ef01
Task-number: QTCREATORBUG-23986
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljsplugindumper.cpp')
0 files changed, 0 insertions, 0 deletions