Application failed to start because it could not find or load the QT platform plugin “windows”

This application failed to start because it could not find or load the Qt platform plugin "windows" 简述 错误描述 解决方案简述vs2013 + Qt 的编程环境,用debug模式运行一切OK,一旦用 Release 模式,就报以下错误。经过Google,百度,有的人说需要添加什么代码,有人说需要复制整个plugin文件夹,有人说需要复制整个platforms 文件夹,他们说的都不完全对。以下才是亲测可行的解决方案。错误描述This application failed to start beca 阅读详情

The error is caused because the program can't find qwindows.dll

qwindows.dll has to be in a folder named platforms so that the path from your executable to the dll is platforms/qwindows.dll

Whereas this wasn't enough in my case. I had also to add following line at the beginning of my main()

QCoreApplication::addLibraryPath("./");

Then everything worked.


解决“This application failed to start because it could not find...“的问题 问题描述: 在学习动态排版的时候,使用Rstudio运行Latex、R和Python代码,运行Python有关画图的代码的时候弹窗报错 "This application failed to start because it could not find or load the Qt platform plugin “windows” 原因分析: 具体原因其实我也不太懂,网上搜索了好多种解决方式都试过了还是不行,最后自己琢磨琢磨出来的,仅供参考~ 解决方案: 1: 首先说说我的解决方法,添加QT的环境变 阅读详情

相关推荐

基于matlab的心电信号预处理

这是前段时间做的一个课程设计,做的比较简单,没有考虑到太细,只是初步地达到了想要的效果。这次设计主要是对心电信号进行预处理,将其信号中包含的一些干扰滤除或者抑制掉。 一、心电信号 (1)心电信号的特性   人体心电信号是非常微弱的生理低频电信号,通常最大的幅值不超过5mV,信号频率在0.05~100Hz之间。心电信号是通过安装在人体皮肤表面的电极来拾取的。由于电极和皮肤组织之间会发生极化现象

i_weimoli的博客 6万+

This application failed to start because it could not find or load the Qt platform plugin windows

一、问题出现 在win7 x64系统下,使用Qt5.6.2 MinGW32开发的程序,在本机运行没问题,可是把.exe和用到的.dll打包发到别人电脑上却运行不了,报错如下: 二、原因分析 为什么会这样?这是因为程序运行需要Qt本身的一些dll动态库,把这些缺失的dll补上就可以了。需要注意的是:一般遇到这个报错,是缺少plugins文件夹下的platforms和imageformats两个文件夹内的dll动态库。 三、解决办法 因此,解决办法就是将Qt安装目录下对应的动态库dll文.

woshisaoge的专栏 1万+

S32DS IDE调试技巧:如何用条件断点精准捕获汽车电子MCU的硬件状态变化

本文详细介绍了S32DS IDE中条件断点功能在汽车电子MCU开发中的应用技巧。通过精准捕获硬件状态变化,工程师可以高效调试外设寄存器异常、时序敏感型交互等复杂场景,大幅提升汽车电子系统的开发效率。文章还提供了多种实战案例和性能优化建议,帮助开发者充分利用S32DS的调试功能。

CAT789的专栏 208

this application failed to start because it could notfind orload the Qt platform plugin “windows“

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 文章目录前言 前言 Release 编译成功运行程序出现弹框 “this application failed to start because it could notfind orload the Qt platform plugin “windows”……” 可能是环境变量的问题。可以拷贝QT安装目录下的plugins 放到项目Release文件夹下可解决该问题。 ...

weixin_39395528的博客 645

开源项目 ruoyi-sso-oauth2(一)环境配置

Ruoyi若依实现单点登录SSO、oauth2认证

Xiaoweidumpb 9684

EDSR图像超分辨程序复现(踩坑及解决记录)

EDSR图像超分辨程序复现(踩坑及解决记录)

Sunny_Coder的博客 3642

Qt This application failed to start because it could not find or load the Qt platform plugin “window

这个问题是Qt环境没有正确配置导致.使用Qt目录下的windeployqt.exe发布工具把qt运行需要的。文件复制到应用运行目录下,即可正确运行程序。

hanyicangcang的博客 631

VSCode CMake 安装与配置详解

概述 在windows上使用cmake编译C/C++程序时,首先需要CMake,安装gcc/g++编译环境,然后使用VSCode 以及配置下CMakelist.txt。 所需工具: VSCode (需要安装以下插件) C/C++ C++ Intellisense CMake CMake tools CMake Tools Helper CMake MinGW 安装CMake 下载链接:...

Markus 8万+

This application failed to start because it could not find or load the Qt platform plugin “windows“

问题为:This application failed to start because it could not find or load the Qt platform plugin "windows"in "", Available platform plugins are: minimal, offscreen, windows. Reinstalling the application may fix this problem. 昨晚想玩一下星际争霸,打开战网直接给我报了这么一个错,好久没玩了直

qq_42020914的博客 4533

【cocos2dx面试题干货】--2021年最新cocos2dx面试干货(引擎篇)

【cocos2dx面试题干货】--2020年度最新cocos2dx面试干货(引擎篇 ) 大家好,我是Lampard~~ 经过春招一番艰苦奋战之后,我终于是进入了心仪的公司。 今天给大家分享一下我在之前精心准备的一套面试知识。 由于我面试的岗位是cocos2dx的开发岗,今天就先给大家分享一下引擎方面的知识。 本人亲测80%的引擎相关题目都...

Lampard的博客 1万+

测风数据垂直外推(原理及Windowgrapher操作示范)

垂直外推

weixin_46713695的博客 897

解决This application failed to start because it could not find or load the Qt platform plugin "windows

PyQt5+python做UI时,使用pyinstaller打包成exe,点击运行exe文件时,出现This application failed to start because it could not find or load the Qt platform plugin "windows错误。问题是,缺少必要的dll文件,我们找到路径:C:\ANACONDA\Lib\site-packag...

Perfect_Accepted 7万+

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

This application failed to start because it could not find or load the Qt platform plugin "windows

安装完pyside2遇到的“This application failed to start because it could not find or load the Qt platform plugin "windows" ”. 我的是因为我之前装过了pyqt5 ,现在又装了pyside2 ,两个都是基于qt库,所以发生了冲突,在我运行pyside2的相关代码的时候,系统给我报错说找不到qt...

爱学习的大孩子 1918

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

This application failed to start because it could not find or load the Qt platform plugin "windows".

很多时候莫名其妙安装一个软件以后,windows下打不开。比如Spyder重新指定python、或者下载了wireshark,或者是浏览器扩展的下载软件等等等等,网上找到的解决方案甚至说要下载QT的。。。 错误描述 This application failed to start because it could not find or load the Qt platform plugin “w...

威化饼的一隅 4052

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

VS中调用QT出现This application failed to start because it could not find or load the Qt platform plugin

最近在跑一个代码,很蛋疼,是在VS上调QT的(我不知道啥是QT,没学过),于是就出问题了。Debug上跑没问题,放到release下就出问题了,给我报了一个错叫This application failed to start because it could not find or load the Qt platform plugin “windows” in “”. 我查了一晚上,总结一些解决方法。 设置环境变量和调库 https://blog.youkuaiyun.com/qq_35488967/article

myb_cuc的博客 7234

This application failed to start because it could not find or load the Qt Platform plugin “windows“

This application failed to start because it could not find or load the Qt Platform plugin "windows" in " ". Reinstalling the application may fix this problem.

qq_36401519的博客 843

This application failed to start because it could not find or load the Qt platform plugin “windows“.

上述两种方案都没有解决我的问题。但是基本可以确定就是因为dll文件出的问题,于是我把环境变量下把32位的dll所在的bin文件夹从环境变量中删除了,问题消失。同样的方式也可以每次手动配以下自己所用的bin文件,感觉对这个问题也有帮助。好多同学的解决方案都是因为缺少了qwindows.dll 库,找到安装路径下连文件夹带文件copy到.exe 程序对应的文件夹写就可解决。另还有一种解决方案就是使用windeployqt .exe这个命令来进行直接拷贝。

weixin_45013621的博客 2127

This application failed to start because it could not find or load the Qt platform plugin “windows”

在win10系统下,利用QT5.9编写了一个应用程序,拷贝必要的dll文件,拿到其他计算机上运行,出现如下问题:解决方案:1.动态链接库dll要补全,在exe同级目录,如图所示2.添加平台支持文件。因为不能保证其他计算机安装QT或其他C++的插件,从QT安装目录下拷贝platforms文件夹到exe同级目录,路径为C:\Qt\Qt5.9.4\5.9.4\mingw53_32\plugins。pla...

simonker的博客 819
上一篇: 设计模式——单例模式C++实现
下一篇: 腾讯后台开发面试经验
readyao
博客等级 码龄11年 243粉丝 163原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值