plugin cannot be loaded for module “QtQuick“ && Could not load the Qt platform plugin “windo

Posted yantuguiguziPGJ

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了plugin cannot be loaded for module “QtQuick“ && Could not load the Qt platform plugin “windo相关的知识,希望对你有一定的参考价值。

目录

一 问题引入

二 问题解决

三 参考链接


一 问题引入

qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: direct2d, minimal, offscreen, webgl, windows

qrc:/main.qml:1:1: plugin cannot be loaded for module "QtQuick": Cannot load library C:\\Qt\\5.15.2\\msvc2019_64\\qml\\QtQuick.2\\qtquick2plugin.dll: ???????????????

二 问题解决

环境变量使用:

%Qt5_DIR%

修改Qt5_DIR的值即可使用不同的编译器环境。

三 参考链接

(4条消息) Windows下错误could not find the Qt platform plugin “windows” in “C:\\Qt\\XXX”的解决办法_zmyzyc1988的博客-CSDN博客

 

以上是关于plugin cannot be loaded for module “QtQuick“ && Could not load the Qt platform plugin “windo的主要内容,如果未能解决你的问题,请参考以下文章

plugin cannot be loaded for module “QtQuick“ && Could not load the Qt platform plugin “windo

mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded

Authentication plugin 'caching_sha2_password' cannot be loaded

authentication plugin caching_sha2_password cannot be loaded

Authentication plugin ‘caching_sha2_password‘ cannot be loaded

Authentication plugin ‘caching_sha2_password‘ cannot be loaded