<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<br>
</div></div>The bug is in PyQt4. The size should be returned and not passed in as an<br>
argument.<br>
<br>
In your PyQt5 code change the return statement to something like...<br>
<br>
    return pixmap, QtCore.QSize(100, 100)<br>
<br>
I probably won't fix the bug at this stage as it would break existing<br>
code.<br>
<span class="HOEnZb"><font color="#888888"><br>
Phil<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Hey thanks man, it works perfectly. :)<br><br></div><div class="gmail_extra">Greets Jens<br></div></div>