pyqtdeploy --resources does not split data files in app pkg dir

Patrick Stinson patrickkidd at gmail.com
Mon Nov 2 17:06:20 GMT 2020


FWIW, aside from slow compile time, the problem I am running into is that msvc runs out of heap memory and I haven’t been successful modifying the compiler config.

> On Nov 2, 2020, at 8:05 AM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Thanks. I’m going to see if I can patch it to distribute based on file size more equally. Any unforeseen side-effects of that?
> 
>> On Nov 2, 2020, at 7:58 AM, Phil Thompson <phil at riverbankcomputing.com> wrote:
>> 
>> On 28/10/2020 20:11, Patrick Stinson wrote:
>>> —resources splits python modules into several qrc_pyqtdeployN.cpp but
>>> still puts all non-python module files in one big source file. This
>>> negates the utility of splitting the source files and makes for slow
>>> builds with lots of data files in the resources list.
>> 
>> It makes no distinction between non-Python module files and anything else. It allocates the same number of files to each .qrc file but doesn't take the size of a file into account. If you have lots of large data files in the same directory it is likely that these will be lumped together. The only work around I can suggest is to set the number of resource file to a higher value.
>> 
>> Phil
> 



More information about the PyQt mailing list