当前位置:网站首页>Using pycharm to load the QRC resource file in pyside2
Using pycharm to load the QRC resource file in pyside2
2022-04-21 09:44:00 【wg2627】
One 、Pycharm Middle configuration qrc File transfer .py file
1、 open Pycharm Software –>file–>setting–>Tools–>External Tools–>+
2、 Click on “+” Add tools


Name:PyRCC( You can decide for yourself )
Program:D:\pycharm\pythonProject1\venv\Scripts\pyside2-rcc.exe
Arguments:$FileName$ -o $FileNameWithoutExtension$_rc.py
Working directory:$FileDir$

pyside2-rcc aaa.qrc -o aaa.py #aaa.qrc Indicate the location and path aaa.py For output py file
In the main program py In file quote aaa.py as follows
import aaa.py
Successfully loaded qrc file
版权声明
本文为[wg2627]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210940238169.html
边栏推荐
- 【愚公系列】2022年04月 微信小程序-项目篇(公交查询)-01周边站点
- CentOS下Docker中安裝MySQL
- [note] package XML file syntax record
- 【栈和队列】C语言简单应用 ⌊栈和队列互相实现,循环队列⌉
- The display problem of gltf model with transparent map
- ArrayList collection
- 每日一题(2022-04-19)——字符的最短距离
- M3u8 Video Downloader IDM breaks through the failure to download protected data and cannot be restricted
- Control the start, hide, display and close of another program
- [hand in hand to prepare you for the video game] recent summary
猜你喜欢

【笔记】.launch文件语法记录

某小厂面试题:什么是虚假唤醒?

刷题记录(牛客MySQL)

报告解读下载 | 首份《中国数据库行业分析报告》重磅发布!
![[DL image classification]](/img/65/8abe8b3b9322bca4fd4e2802d33482.png)
[DL image classification]
![Kali:sqlmap :[10:39:37] [CRITICAL] unable to connect to the target URL](/img/bf/123e6f5eadb8d502e135a7cff9b120.png)
Kali:sqlmap :[10:39:37] [CRITICAL] unable to connect to the target URL

【手拉手 带你准备电赛】April Tag标记跟踪(3D定位)详解

控制另一个程序的启动、隐藏、显示、关闭

A tool that is easier to use and more powerful than Navicat!

A simple group chat function based on websocket
随机推荐
Kali:sqlmap :[10:39:37] [CRITICAL] unable to connect to the target URL
网格布局--grid
Yuanshu training dance room, cyberpunk cool style, waiting for you to dance
【栈和队列】C语言简单应用 ⌊栈和队列互相实现,循环队列⌉
元术练舞室,赛博朋克酷炫风格等你来畅跳
[hand in hand to prepare you for the electric game] use the timer interrupt to change the PWM duty cycle
CentOS下Docker中安装redis
2022 a special equipment related management (elevator) test question simulation test platform operation
1161: string length (pointer)
Japanese brother's open source "self abuse artifact" exploded overnight: use the handle to control his face, take the code and bear the consequences
Interview question of a small factory: what is false awakening?
Multithreaded copy set (New 4)
正则表达式语法及常用正则表达式
When uniapp encounters rolling penetration, a clever solution~
String match KMP BF
Transaction isolation level and mvcc
Question brushing record (Niuke MySQL)
1169: large integer (pointer)
报告解读下载 | 首份《中国数据库行业分析报告》重磅发布!
[Yugong series] April 2022 wechat applet - Project (bus query) - 01 surrounding stations