[PyQt] QListView.indexesMoved broken

Phil Thompson phil at riverbankcomputing.com
Thu Feb 9 16:36:12 GMT 2017


On 9 Feb 2017, at 4:25 pm, Kovid Goyal <kovid at kovidgoyal.net> wrote:
> 
> QListView.indexesMoved appears to be broken with PyQt 5.7.1 + Qt 5.8.0
> 
> python3 -c "from PyQt5.Qt import *; app = QApplication([]); QListView().indexesMoved"
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
> TypeError: C++ type 'QModelIndexList' is not supported as a signal argument type
> 
> This used to work in earlier versions. For example, with PyQt 5.6, the
> above outputs:
> <bound signal indexesMoved of QListView object at 0x10d59a180>

Fixed in current snapshots I think.

Phil


More information about the PyQt mailing list