To reproduce.
class _Base:
def foo(self):
self.setWindowTitle('foo')
class MyWindow(QWindow, _Base):
def __init__(self):
QWindow.__init__(self)
self.setWindowTitle()
To avoid segfault:
class _Base(object):
Can't PyQt detect multiple inheritance from old-style class?
--
Naoki INADA <songofacandy at gmail.com>