问题一:
我正在使用 Windows 10 家庭版。我已经安装了 Qt6、Android Studio 2019 和 Visual Studio 2019。在安装 Visual Studio 2019 之前,Qt6 工作正常,但是由于我已经安装了 Visual Studio 2019,现在 Qt6 中有所有 Android 6.0.0 Clang 套件的重复编译器(请看截图)。有人可以告诉我如何删除重复的吗?删除按钮全部变灰。为什么 Qt6 会自动检测多个相同的编译器?
Auto-Detect 下的重复编译器是:
- Android Qt 6.0.0 Clang arm64-v8a
- Android Qt 6.0.0 Clang armeabi-v7a
- 安卓 Qt 6.0.0 Clang x86
- Android Qt 6.0.0 Clang x86_64
Qt6 自动检测到三个相同的实例,所有这些实例的删除选项都是灰色的。
问题2:
打开一个项目示例(即Coffee machine,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 ''
有人可以解释发生了什么,我应该怎么做才能纠正这些错误?到目前为止,我无法通过谷歌搜索找到任何答案。有没有人遇到过类似的问题?