[PyQt] PyQt5 and QQuickImageProvider

2013-10-06 Thread Jens Persson
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 import QtWidgets from PyQt5 import QtQml from PyQt5 import QtQuick

Re: [PyQt] pyqt5.1 baffling exceptions: AttributeError: 'Qxxxxxx' object has no attribute 'QWidget'

2013-10-07 Thread Jens Persson
This example runs without errors for me on Python2 in Linux. Greets Jens On Mon, Oct 7, 2013 at 2:27 AM, Stephen Gava elgua...@gmail.com wrote: Phil, i've attached a simple test case that illustrates this problem, here it is inline: import sys from PyQt5.QtWidgets import

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 Hey thanks

Re: [PyQt] PyQt5 on Debian Wheezy for ARM

2013-10-08 Thread Jens Persson
* ** Currently I am trying to compile PyQt5 on Debian on a BeagleBone. All ** works so far (after a few modifications...) but QtQml module does not*load. * It gives me the following error: ** ImportError: /usr/local/lib/python2.7/dist-packages/PyQt5/QtQml.so: ** undefined symbol:

Re: [PyQt] PyQt5 on Debian Wheezy for ARM

2013-10-08 Thread Jens Persson
I didn't find any snapshot of the pyqt-5.0.x series. AFAIK Sailfish' SDK hasn't upgraded to qt-5.1.x yet. Greets Jens On Tue, Oct 8, 2013 at 2:31 PM, mail.aroess...@gmail.com wrote: Try the latest snapshot, this has been fixed. It was a problem with the arm gcc 4.6. Regards Alexander

Re: [PyQt] PyQt5 on Debian Wheezy for ARM

2013-10-09 Thread Jens Persson
So I managed to update Qt in the Sailfish SDK and I can confirm that the latest PyQt snapshot works fine. :) Greets Jens On Tue, Oct 8, 2013 at 2:31 PM, Jens Persson xerx...@gmail.com wrote: I didn't find any snapshot of the pyqt-5.0.x series. AFAIK Sailfish' SDK hasn't upgraded to qt-5.1.x