[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-06 Thread Stephen Gava
Phil, i've attached a simple test case that illustrates this problem, here it is inline: import sys from PyQt5.QtWidgets import (QApplication,QMainWindow) class MainWindow(QMainWindow): def __init__(self): super(MainWindow,self).__init__() self.setWindowTitle('test

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

2013-10-06 Thread Stephen Gava
in case anyone searches this and needs workarounds for their code until the issue is resolved: in the case of this error being triggered by using the result of QWidget.window() i worked around the error in all cases by explicitly passing a reference to the parent toplevel window all the way

Re: [PyQt] pyqt5.1 QWidget.childAt() exception

2013-10-06 Thread Stephen Gava
i've noted possible temporary workarounds for this issue in the related thread titled: Re: [PyQt] pyqt5.1 baffling exceptions: AttributeError: 'Qxx' object has no attribute 'QWidget' stephen. On 05/10/13 19:31, Phil Thompson wrote: On Fri, 04 Oct 2013 16:07:38 +1000, Stephen Gava