当前位置:网站首页>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
边栏推荐
- mysql通过binlog文件恢复数据
- MySQL 修改主数据库
- Jacob print word
- Qt Designer怎样加入资源文件
- Wechat applet initializes Bluetooth, searches nearby Bluetooth devices and connects designated Bluetooth (I)
- log4j 输出日志信息到文件中
- JSP学习2
- Switch usage (wechat applet)
- Lin Lin, product manager of Lenovo: network failure of local network operator in Tianjin. The background server of Zui system can't work normally for the time being
- 帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
猜你喜欢

微信小程序setInterval定时函数使用详细教程

Programming travel function

微信小程序通过低功耗蓝牙设备进行定位及测距(二)

帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
Check in system based on ibeacons

快速安装mongodb

1256: bouquet for algenon

org.apache.parquet.schema.InvalidSchemaException: A group type can not be empty. Parquet does not su

Three point positioning based on ibeacons (wechat applet)

DeepinV20安装Mariadb
随机推荐
浅谈基于openssl的多级证书,Multi-level CA的签发和管理,以及双向认证
Three point positioning based on ibeacons (wechat applet)
Wechat applet initializes Bluetooth, searches nearby Bluetooth devices and connects designated Bluetooth (I)
RobotFramework 之 用例标签机制
nodejs通过require读取本地json文件出现Unexpected token / in JSON at position
星界边境文本自动翻译机(高级版)使用说明
SQL数据库
mysql通过binlog文件恢复数据
分页SQL
SPC简介
全局变量能否放在头文件中定义
Qt Designer怎样加入资源文件
sql中出现一个变态问题
Mysql个人学习总结
网站_收藏
Detailed tutorial on the use of setinterval timing function of wechat applet
PySide2
VMware Workstation 无法连接到虚拟机。系统找不到指定的文件
对List集合进行分页
switch使用(微信小程序)