[Interest] Empty QML ListView after filtering QSortFilterProxyModel
Roman Wüger
roman.wueger at gmx.at
Wed Apr 7 13:14:20 CEST 2021
Hello all,
I use the setFilterRole(), setFilterFixedString() function and so on. The application is a QML application where the business logic is written in C++.
After setting the filter, I run in a for loop over the Model and Print the items for debugging purpose, which works fine.
The problem now is, that when the filter is applied, the QML listview gets empty. Before applying the filter, I see the items as they should.
Have anyone some hints why the listview isn‘t showing anything after filtering?
Thanks in advance
Roman
More information about the Interest
mailing list