PyQt:解决This application failed to start because no Qt platform plugin could be initialized问题

技术标签: PyQT  python  pyqt  qt5

问题:打开QTdesigner时报错如下 解决方法: 找到路径python37\Lib\site-packages\pyqt5_tools\Qt\plugins(按个人安装的路径)。 将plugins文件夹复制到pyqt5_tools\Qt\bin\designer.exe或pyqt5_tools\Qt\designer.exe同级目录下(路径可能不同,找到designer.exe即可),再次打开...

pyqt5使用总结

\site-packages\pyqt5_tools\Qt\bin 依次填入: Qtdesigner路径根据自己电脑修改!!! C:\Users\Administrator\PycharmProjects\pythonProject\venv\Lib\site-packages\pyqt5_tools\Qt\bin\designer.exe $FileDir$ 在tools下运行designer:

pyQt designer.exe 无法打开

\site-packages\pyqt5_tools\Qt\bin 目录打开 designer.exe 报错如下解决方案 将以下目录两个dll文件 …\Python\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms 拷贝覆盖 …\Python\Lib\site-packages\pyqt5_tools\Qt

pyqt5-tools下没有生成designer.exe

\pyqt5_tools\designer.exe目录下 新版本放在: C:\Users\shaozm32939\AppData\Local\Programs\Python\Python38\Lib\site-packages\pyqt5_tools\Qt\bin\designer.exe目录下

安装PyQt5 + PyQt-tools (补充)

\Python38\Lib\site-packages\pyqt5_tools\ (以上路径针对笔者个人而言) 这是因为新版PYQT5-tool中designer.exe文件位置改变了。 解决方法 C:\Program Files\Python38\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms 路径platforms文件夹复制到

Python —— PyQT5的designer.exe打开失败

PyQT5designer.exe打开失败 报错信息 解决办法 报错信息 解决办法 1、找到 “…\Lib\site-packages\pyqt5_tools\Qt\plugins\platforms” 目录复制其中两个 .dll 文件 2、文件覆盖粘贴到 “…\Lib\site-packages\pyqt5_tools


智能推荐

(亲测)designer运行报错:This application failed to start because no Qt platform plugin could be initialized

1.现象: 点击之后,出现: 2.原因: 没有添加系统环境变量。 3.解决办法: 添加系统环境变量。 4.解决步骤: 4.1打开控制面板,且在控制面板搜索栏输入"系统" 4.2选择高级设置 4.3点击环境变量 4.4点击新建 4.5输入,确定。 ps: 变量名:QT_QPA_PLATFORM_PLUGIN_PATH。 变量值:pyqtX_tools中的与designer同级的p...

程序运行时提示This application failed to start because no Qt platform plugin could be initialized.

包含QT的程序,运行的时候可能会遇到This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Reinstarlling...这个报错。 大致意思就是qt平台插件初始化失败了。如图: 解决...

This application failed to start because no Qt platform plugin could be initalized.

刚安装qt,使用vs创建了一个qt项目,直接点击生成解决方案并于运行,但是直接出现bug 直接说我的解决方案: 首先,我安装了两个qt版本,每个版本又安装了不同的编译环境,所以我选择那个环境,就到哪个环境下面找到这个platform文件夹 直接把这个文件夹复制到生成的可执行文件同一级目录下面 然后点击运行,发现正常运行。...

Go语言中结构体的使用-第2部分OOP

1 概述 结构体的基本语法请参见:Go语言中结构体的使用-第1部分结构体。 结构体除了是一个复合数据之外,还用来做面向对象编程。Go 语言使用结构体和结构体成员来描述真实世界的实体和实体对应的各种属性。也就意味着结构体类型可以类比为其他语言中的“类class”, 而结构体数据可以类比为其他语言中的 “对象”。 本文就说说结构体中,面向对象的部分。 2...

微信小程序开发

开发工具地址:https://mp.weixin.qq.com/debug/wxadoc/dev/ css,js,html 不熟练   <!--index.wxml--> <view class="container"> <view class="userinfo"> <view class="u...

猜你喜欢

Python在查询库列表存在时,运行显示ImportError: No module named 'XXX'的问题

Python在查询库列表存在时,运行显示ImportError: No module named 'XXX’的问题 菜鸡最近在上python课,最近深受python导库的问题困扰。本人用的是PyCharm软件 一开始是以为库没有导入进去,但是查看库列表时,发现库还在它原来的地方好好的呆着。 这是再做什么删了重新下载的操作真的是白费事了。 下面是重点了啊!!!!! File->Se...

记录:eclipse+maven创建webapp项目

新建Maven项目,这里默认勾选Use default Workspace location 选择如下图所示: 填写Group Id、Artifact Id,二者统称为“坐标”是为了保证项目唯一性 点击Finish后生成项目结构如下图: 进入到Java Build Path 更改JDK版本,默认选中的是Execution environment,这里更改成选中Wordspa...

在github上创建自己的第一个项目仓库实录

讲的非常详细,自己就不多说啥了,直接看文章 学会操作git和使用Github来管理代码是技术开发人员的必备基本功,在工作中越来越发现,熟练掌握好git这个利器对工作非常有帮助, 遂静心专门攻之. 下面是我在github上创建的第一个测试项目.详细步骤记录如下. 一.注册Github账号 如果事先没有github的账号,首先需要注册一个github账号,需要登陆github官网 https://gi...

怎么看java源代码

 妈的,开发快7年了,源代码一致不知道怎么看,由于自己不是计算机专业的, 必要后只是简单的java培训了下,没有很好的编程功底,导致遇到很多问题,没有找到正确的处理方式,也怪自己懒,3天打网两天晒鱼,自己就是那种遇到问题,解决了事的那种人,当然以前工作的确也太忙了,外包项目一直做,知道的挺多了,但是都不精,本着完成任务了事的态度,没有积累;看源代码基本上就是使用crtl+t找进入jar包...

TCP三次握手和四次握手

建立连接(三次握手) 为什么要三次握手? 答:防止无效的请求连接状态重新发送到服务端,如果服务器端返回给客户端确定连接,那么假设是两次握手的情况下,服务器端就以为一条连接已经建立,就会等待客户端的数据,但是客户端实际上并没有请求数据,而客户端并不知道,浪费了服务器端的很多资源。(为了防止已失效的连接请求报文段突然又传送到了服务端,因而产生错误)    断开连接(四次握手) 相比...

问答精选

Execute multiple line PowerShell Script from C#

I am new to PowerShell. I am trying to execute PowerShell script from C#. PS Script that I have written transfer xml file from host computer (running PS script) to a remote computer. Script is as foll...

Does pattern matching create a function?

The List.sortWith method according to doc: has signature Now for a list of strings we can do: i.e use pattern matching when scala is saying it wants a function type. In this case can we therefore say ...

Jqueryui draggable between Jquery layout sections

here's a jsfiddle of what I'm trying to do http://jsfiddle.net/YSBGu/ You'll notice that when trying to drag the divs in the left column to the middle section it stays trapped in the left one and just...

How do I swap the last and maximum element in the array?

How to swap the maximum and last element of an array? I want to write the program which requests natural number NN (no more than 100), further sequence from NN of various numbers, changes places of th...

Percentage calculation from infopath to sharepoint

I am a newbie in sharepoint/infopath. I am trying to edit an existing field in sharepoint which seems to be loaded from infopath. The flow of the program is as follows: I open a form (which is integra...

相关问题

相关文章

热门文章

推荐文章

相关标签

推荐问答