diff options
author | Christian Kamm <mail@ckamm.de> | 2020-05-10 16:06:57 +0200 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2020-05-21 07:54:08 +0000 |
commit | 40dd6fc1859bf0b5345d368e9cb3d4eddadf7fc5 (patch) | |
tree | 25b3610fe94fc18b7173564761c5e6fee9156090 /src/plugins/cpptools/cppcodeformatter.cpp | |
parent | f64146741df05d7da7429f66af079b24c11cc3ca (diff) | |
download | qt-creator-40dd6fc1859bf0b5345d368e9cb3d4eddadf7fc5.tar.gz |
QmlJS: Add workaround for missing imports in Qt >=5.15.0
The QtQuick module plugins.qmltypes in Qt 5.15.0 do not contain
QML types like QtObject. Instead, they are found in the QtQml module.
Something similar applies to QtQml and QtQml.Models and
QtQml.WorkerScript.
As Qt 5.15 can't use the "import" command in the qmldir file, this code
instead detects the 5.15 QtQuick and QtQml modules and adds the
dependent imports manually, as a workaround.
Change-Id: I982e349298eb7200372390dfc384fb43a762b253
Task-number: QTCREATORBUG-23986
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.cpp')
0 files changed, 0 insertions, 0 deletions