oKcerG / SortFilterProxyModel

A nicely exposed QSortFilterProxyModel for QML
MIT License
298 stars 101 forks source link

Qt6 & Qt5 version #100

Open RaymiiOrg opened 1 year ago

RaymiiOrg commented 1 year ago

This build incorporates fixes from MenloSystems ( @olafmandel ) and compiles under Qt5.15 and Qt6.5 (without warnings). A GitHub Actions file is included to build under Qt5 an Qt6.

I havent ran the tests yet but that could be incorporated into the GitHub actions runner. The project seems dead so i'm unsure of that is worth the effort.

srijanc commented 11 months ago

@RaymiiOrg I have been using these changes for an ongoing project that I am working on. I came across a well known warning QRegularExpressionPrivate::doMatch(): called on an invalid QRegularExpression object which occurs if the RegExpFilter property pattern contains a special character which has a meaning within a regular expression, in my case ( or ) or [ or ] . The warning is thrown in multiple times and then it stops and the list model fails to produce correct result