Are there practical size limitations to "compiled" resource files generated by PyQt?

81 Views Asked by At

I've been trying to bundle up some splash screens into a resource file (three of them, at around 350KB each) using pyrcc, but the resulting rc takes an unacceptable amount of time to import (about 1.2 seconds).

I assume this is just a limitation of python's import system, as it doesn't usually have to, nor should it have to, import such a gigantic source file (5MB file, 72k lines). Am I thinking about this problem the right way? Is there a way to skirt around PyQt's qrc-to-module workflow while still maintaining all assets in the resource system?

0

There are 0 best solutions below