[PyQt] Massive inflation of .qrc files

Phil Thompson phil at riverbankcomputing.com
Wed Jan 3 09:50:11 GMT 2018


On 3 Jan 2018, at 8:27 am, Giuseppe Corbelli <corbelligiuseppe at mesdan.it> wrote:
> 
> On 12/24/2017 11:38 PM, Phil Thompson wrote:
>>> I've tried putting "splash.hide()" as late in the execution order as possible, but it's still fast. I'm not going to cheat and use "sleep()"  :-)
>>> 
>>> Does anyone have any insight? I can reduce the quality of the image (since it's shown so briefly), but if the resulting resource file is so large, there's not much point. And 97Kb is hardly a large image.
>> Using pyrcc is rarely a good idea.
> 
> What would be your recommended approach to create a resource bundle?

pyrcc is the only way to create a resource file for Python. The question is, why create a resource file at all?

Phil


More information about the PyQt mailing list