Using Qt Resources for icons in PySide6 or PyQt6

preview_player
Показать описание
This video will show you how to properly use the Qt resource system for Icons in your PySide6 or PyQt application.
Рекомендации по теме
Комментарии
Автор

Damn, another great vid. Between this and the proper loading of the generated .py ui file got me up and running fast, not to mention the mind blowing signals vid.

falsejaguar
Автор

This channel is absolute gold. I've learned so much from you already. I've seen this info elsewhere but never as succinct as this, and your method of converting the UI to Python and reading it as a module really helped me understand how I could dynamically load the UI into a main script (much better way of working) without having to distribute the QtDesigner .ui file which seemed strange to me. I'm newer to OOP and that was a lightbulb moment.

I'd love to hear any thoughts you have on distributing Python applications where you have proprietary code that you need to obfuscate, if you have any wisdom to impart on that topic. Thanks so much for creating these videos!

nickmarshallvfx
Автор

Also, thank you for your very good educational video. I wanted you to explain what tool and how to convert qrc file to python for pyqt6 library?

kurdmanpar
Автор

Thank you very much for your calm explanations, super easy to follow :) So I did all this but the icons are still not shown in my application. I was wondering if the icon format could be the issue (it says Microsoft Edge HTML Document (.svg)), but shouldn't it work with any kind of graphic format?

Do you know of another common source of error regarding this?

dreibrezen