[PyQt] pyuic4 vs uic Module

Kyle Altendorf sda at fstab.net
Mon Aug 6 15:20:00 BST 2018


On 2018-08-05 16:29, michael h wrote:

>> Is there any best practice suggestion as to how to interact with the 
>> Qt ui files? Is it better to load them dynamically using the uic 
>> module with the load uic.loadUi method?
>> 
>> Or is it recommended to compile the ui files into python code using 
>> pyuic4?
> 
> I've done it both ways but compiling them beforehand should have better 
> performance

How long do .ui files tend to take to loadUiType() at startup?


More information about the PyQt mailing list