<div dir="ltr">On 01/04/2017 05:19 PM, Matthias Kuhn wrote:<br>> the sip api version gets changed as soon as qgis is imported somewhere.<br>> Aparently uic.loadUi() just loads all available custom Qt widgets found<br>> on the system.<br>> I am not aware of a gentle way to deal with this problem (neither on<br>> your not on our end). I think that's something to ask on the PyQt<br>> mailing list.<br><br>Thanks Matthias,<div>I think I've understood the problem.</div><div>In the meantime, the submitter has confirmed that the problem doesn't occur in the partition where qgis is not installed, so I suppose you are right.</div><div>I could use pyuic4 and build every ui files by hand, but I'd prefer to use the loadUi, since it's easier and cleaner.<br>I'll write to the PyQt mailing list and see if they have a solution for that.</div><div><br></div><div>Thank you again,</div><div>Maurizio<br><br><br>-- <br>È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi<br><a href="http://www.jidesk.net">http://www.jidesk.net</a><br><div>
</div></div></div>