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