Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k 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 Answer

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...