[PyQt] How do you include the pyrcc5 -generated .py file into your app?

Phil Thompson phil at riverbankcomputing.com
Sat May 4 22:05:57 BST 2019


On 04/05/2019 21:22, Luna Tuna wrote:
> Hi,
> 
> I googled and found an article on how to go from your resource.qrc file
> produced in Qt Creator to your resource.py file produced by pyrcc5 
> command:
> 
> pyrcc5 images_resource.qrc -o images_resource.py
> 
> 
> So how now do I include this python file or call it, where do I call 
> its
> methods, etc?

Import it - there is nothing else to do.

Phil


More information about the PyQt mailing list