Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.4k views
in Technique[技术] by (71.8m points)

c++ - Cannot remove duplicated Android 6.0.0 Clang compilers kits auto-detected in Qt6

Problem 1:

I'm using Windows 10 Home. I have installed Qt6, Android Studio 2019, and Visual Studio 2019. Before installing Visual Studio 2019, Qt6 was working fine, but since I have installed Visual Studio 2019, there are now duplicated compilers in Qt6 for all Android 6.0.0 Clang kits (please see screenshot). Can someone tell me how to removed the duplicated ones? The Remove buttons are all greyed out. Why does Qt6 auto-detect more than one of the same compiler?

The duplicated compilers under Auto-Detect are:

  • 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 have auto-detected identical instances three of each, and the remove option for all of them are greyed out.

Duplicated compilers

Duplicated compilers cannot be removed(greyed out)

Problem 2:

Once openned a project example (ie. Coffee machine, the default example project that comes with Qt6 installation), in the General Messages (Alt + 6) of Qt6, it shows the following:

2021-01-12T18:19:28 Clang Code Model: Error: The clangbackend executable "C:QtToolsQtCreatorinclangbackend.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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:Qt6.0.0msvc2019_64inqmlplugindump.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 ''

Can someone please explain what is happening and what should I do to correct those errors? I could not find any answers by Googling so far. Has anyone encountered similar problems before?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...