[Interest] Why can't I sort QTreeView?

Matthew Woehlke mwoehlke.floss at gmail.com
Wed Sep 11 21:52:39 CEST 2019

Okay, this is driving me nuts...

I have a QTreeView. The model is set to a subclass of
QAbstractSortFilterProxyModel, which is in turn proxying a subclass of

I've set sortingEnabled, but for the life of me, I can't get sorting to
actually work (under user control); no sorting indicator is shown, and
clicking on the column headers does nothing.

What am I missing?


More information about the Interest mailing list