当前位置:网站首页>PySide2
PySide2
2022-04-23 14:07:00 【Fresh strawberries】
One 、PySide2 What is it? ?
Qt Is a powerful graphical user interface construction tool , Now it's right Python Provide friendly interface support , Namely PyQt and PySide.PyQt Adopt commercial and commercial products that need to purchase copyright GPL The license , and PySide Adopt... Without purchasing copyright LGPL The license .PySide And PyQt Very compatible API, Therefore, there is no need for copyright PySide More suitable for Python Lovers of learning .PySide2 Support Qt5 frame , compatible Python2.7 The above version and Python3.5 Above version .
Two 、 Use steps
1. Software development environment
- window 10
- Python 3.8
- PySide2
2. install PySide2
About Python Please learn by yourself , I don't want to talk about it here .
install PySide2 Of PyPI, Command line :
pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.11/latest/ pyside2 --trusted-host download.qt.io
3. View installation results
pip freeze
4. utilize Pycharm Set up the integrated development environment
stay PyCharm Customize three tools for development .
- QtDesigner
- uic
- rcc
QtDesigner: For rapid design 、 modify ui And generate .ui file .
UIC: What will be made .ui File to .py file
RCC: Resource file .rcc File conversion to .py file
4.1 Customize QtDesigner
- Program Fill in :PySide2 Under installation path
\Scripts\pyside2-designer.exe
- Arguments: No need to fill in
- Working directory Fill in : Project path
$ProjectFileDir$
4.2 Customize Pyside2-uic
Program Fill in :Python Installation directory : Scripts\pyside2-uic.exe
Arguments Fill in :$FileName$ -o $FileNameWithoutExtension$.py
Working directory Fill in :$FileDir$
4.3 Customize Pyside2-rcc
Program Fill in :Python Installation directory : Scripts\pyside2-rcc.exe
Arguments Fill in :$FileName$ -o $FileNameWithoutExtension$_rc.py
Working directory Fill in :$FileDir$
版权声明
本文为[Fresh strawberries]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231400483527.html
边栏推荐
猜你喜欢
POI operation word template replaces data and exports word
Idea控制台乱码解决
Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动
Cdh6 based on CM management 3.2 cluster integration atlas 2 one
mysql新表,自增id长达20位,原因竟是......
帆软报表设置单元格填报以及根据值的大小进行排名方法
DeepinV20安装Mariadb
Subscription number development of wechat applet (message push)
微信小程序调用客服接口
org.apache.parquet.schema.InvalidSchemaException: A group type can not be empty. Parquet does not su
随机推荐
使用itextpdf实现截取pdf文档第几页到第几页,进行分片
_模_板_
连接公司跳板机取别名
1到100号的灯开关问题
Windos中安装labellmg教程
RobotFramework 之 用例标签机制
VMware Workstation 无法连接到虚拟机。系统找不到指定的文件
帆软实现分页时第一行和最后两行冻结方式
Autumn recruitment in 2021, salary ranking No
pthread_self()为何重复了
基於CM管理的CDH集群集成Phoenix
visio安装报错 1:1935 2:{XXXXXXXX...
Node接入支付宝开放平台的沙箱实现支付功能
Wechat applet input hidden and inoperable settings
Call wechat customer service applet
9月8日,临去松山湖的前夜
1256: bouquet for algenon
log4j 输出日志信息到文件中
关于pthread多线程一些好文章
Ptorch classical convolutional neural network lenet