无法删除在 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 已自动检测到三个相同的实例,并且所有实例的删除选项都显示为灰色。

Duplicated compilers

Duplicated compilers cannot be removed(greyed out)

问题 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 (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...