当前位置:网站首页>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
边栏推荐
猜你喜欢
RobotFramework 之 用例标签机制
SQL数据库
Detailed tutorial on the use of smoke sensor (mq-2) (based on raspberry pie 3B +)
sql中出现一个变态问题
nodejs通过require读取本地json文件出现Unexpected token / in JSON at position
RobotFramework 之 项目框架
查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法
VMWare安装64位XP中文教程
更改plsql工具栏的图标大小
VMware Workstation 无法连接到虚拟机。系统找不到指定的文件
随机推荐
RobotFramework 之 用例标签机制
switch使用(微信小程序)
数据库DbVisualizer Pro报文件错误,导致数据连接失败
帆软之单元格部分字体变颜色
基于CM管理的CDH6.3.2集群集成Atlas2.1.0
Wechat applet communicates with low-power Bluetooth - receives data sent by hardware (IV)
在MAC上安装mysql
Ptorch classical convolutional neural network lenet
Programming travel function
PATH环境变量
Oracle-数据泵使用
On September 8, the night before going to Songshan Lake
_模_板_
关于pthread多线程一些好文章
微信小程序通过低功耗蓝牙设备进行定位及测距(二)
9月8日,临去松山湖的前夜
星界边境文本自动翻译机使用说明
JSP学习2
DDT+Excel进行接口测试
如何快速批量创建文本文档?