如何解决无法删除在 Qt6 中自动检测到的重复的 Android 6.0.0 Clang 编译器工具包
问题 1:
我使用的是 Windows 10 家庭版。我已经安装了 Qt6、Android Studio 2019 和 Visual Studio 2019。在安装 Visual Studio 2019 之前,Qt6 运行良好,但是自从我安装了 Visual Studio 2019 后,现在 Qt6 中的所有 Android 6.0.0 Clang 工具包都有重复的编译器(请看截图)。有人能告诉我如何删除重复的吗?删除按钮全部变灰。为什么 Qt6 会自动检测多个相同的编译器?
自动检测下的重复编译器是:
- Android Qt 6.0.0 Clang arm64-v8a
- Android Qt 6.0.0 Clang armeabi-v7a
- Android Qt 6.0.0 Clang x86
- Android Qt 6.0.0 Clang x86_64
Qt6 已自动检测到三个相同的实例,并且所有实例的删除选项都显示为灰色。
问题 2:
打开一个项目示例(即咖啡机,Qt6安装自带的默认示例项目),在Qt6的General Messages(Alt + 6)中,显示如下:
2021-01-12T18:19:28 Clang Code Model: Error: The clangbackend executable "C:\Qt\Tools\QtCreator\bin\clangbackend.exe" could not be started (timeout after 10000ms).
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Basic
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Basic 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Basic
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Basic 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Fusion
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Fusion 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Imagine
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Imagine 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Universal
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Universal 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Imagine
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Imagine 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Material
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Material 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Material
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Material 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Universal
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Universal 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
QML module does not contain information about components contained in plugins.
Module path: C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/Fusion
See "Using QML Modules with Plugins" in the documentation.
Automatic type dump of QML module failed.
Errors:
"C:\Qt\6.0.0\msvc2019_64\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Controls.Fusion 2.0 .
QQmlComponent: Component is not ready
file:///C:/Qt/6.0.0/msvc2019_64/qml/QtQuick/Controls/loaddependencies.qml: Module namespace 'QtQuick.Controls' does not match import URI ''
有人可以解释一下发生了什么,我应该怎么做才能纠正这些错误? 到目前为止,我无法通过谷歌搜索找到任何答案。有没有人遇到过类似的问题?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。