SortFilterProxyModel icon indicating copy to clipboard operation
SortFilterProxyModel copied to clipboard

Deprecation warnings when compiling with Qt 5.15

Open ahndee opened this issue 4 years ago • 2 comments

Qt 5.15 deprecated the comparison operators (<,>,<=,>=) for QVariant (see official documentation) which are used in rangefilter.cpp and rolesorter.cpp, resulting in compile-time warnings.

ahndee avatar May 27 '20 23:05 ahndee

Perhaps QSortFilterProxyModel::lessThan or the implementation of QAbstractItemModelPrivate::isVariantLessThan is useful here?

timangus avatar Aug 10 '20 15:08 timangus

It is better to solve this problem before it causes more serious problems!

TheCompez avatar Aug 27 '20 14:08 TheCompez