SortFilterProxyModel icon indicating copy to clipboard operation
SortFilterProxyModel copied to clipboard

Port to Qt 6

Open mitchcurtis opened this issue 3 years ago • 4 comments

The PatternSyntax enum had to be removed as QRegularExpression only supports Perl-compatible regular expressions.

As QVariant's comparison operators were removed, a simplified comparison is now done as a starting point, but should probably be extended to support more types.

Fixes #84 Fixes #86

mitchcurtis avatar May 14 '22 10:05 mitchcurtis

About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?

oKcerG avatar May 14 '22 11:05 oKcerG

About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?

Not currently, but I can make it. Not sure what it should do though... so I just made false < true.

mitchcurtis avatar May 14 '22 12:05 mitchcurtis

Have an additional commit in MenloSystems:qt6 that allows compiling against Qt5 and Qt6 from the same codebase.

olafmandel avatar Oct 10 '22 10:10 olafmandel

About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?

Which implementation is preferable: qqsfpm::compareVariants() from utils/utils.* or qqsfpm::lessThan() from #81 ?

olafmandel avatar Oct 10 '22 10:10 olafmandel