Re: [PyQt] PyQt5 and QQuickImageProvider

2013-10-07 Thread Jens Persson
> > The bug is in PyQt4. The size should be returned and not passed in as an > argument. > > In your PyQt5 code change the return statement to something like... > > return pixmap, QtCore.QSize(100, 100) > > I probably won't fix the bug at this stage as it would break existing > code. > > Phil >

Re: [PyQt] PyQt5 and QQuickImageProvider

2013-10-07 Thread Phil Thompson
On Mon, 7 Oct 2013 00:09:51 +0200, Jens Persson wrote: > Hi, I'm trying to port an app to PyQt5 and everything has been working > smoothly so far ... except one thing. I can't get my QQuickImageProvider > to work properly: > --- > from PyQt5 import QtCore > from PyQt5 import QtGui > from PyQt5 im