当前位置:网站首页>How QT designer adds resource files

How QT designer adds resource files

2022-04-23 14:07:00 Fresh strawberries

Qt Designer How to add a resource file

1. You need to create a new project in your project development directory .qrc Postfix file .

        

2. open Qt Designer, Click the in the resource browser “ The pencil ” Icon .

3. In the edit resource window , Click on the bottom left corner “ New resource file ”, And select the newly created qrc file .

4. Click add prefix , Enter the name of the folder where you put your resources .

 5. Click on “ Add files ”, Add your resource file .

 6. Click OK to save . 

7. stay Pychram in , Right click the... You created .qrc file , Use External Tools Medium pyrcc Turn into .py File can .

 

版权声明
本文为[Fresh strawberries]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231400483496.html