当前位置:网站首页>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
边栏推荐
猜你喜欢
Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动
微信小程序获取登录用户信息、openid和access_token
分库分表 & ShardingSphere
Ptorch classical convolutional neural network lenet
星界边境文本自动翻译机使用说明
在MAC上安装mysql
星界边境文本自动翻译机(高级版)使用说明
org.apache.parquet.schema.InvalidSchemaException: A group type can not be empty. Parquet does not su
01-NIO基础之ByteBuffer和FileChannel
查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法
随机推荐
Qt Designer怎样加入资源文件
SQL: How to parse Microsoft Transact-SQL Statements in C# and to match the column aliases of a view
按实际取,每三级分类汇总一次,看图知需求
连接公司跳板机取别名
帆软中根据分类进行汇总
帆软中需要设置合计值为0时,一整行都不显示的解决办法
更改plsql工具栏的图标大小
帆软实现分页时第一行和最后两行冻结方式
POI operation word template replaces data and exports word
Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动
微信小程序基于udp协议与esp8266进行通信
对List集合进行分页
微信小程序 input隐藏和不可操作的设置
As a junior college student, I studied hard in closed doors for 56 days, won Ali offer with tears, five rounds of interviews and six hours of soul torture
poi操作word模板替换数据并且导出word
Wechat applet communicates with low-power Bluetooth - sending data to hardware (III)
JDBC详解
Nodejs安装及环境配置
Wechat applet positioning and ranging through low-power Bluetooth device (2)
Detailed tutorial on the use of smoke sensor (mq-2) (based on raspberry pie 3B +)