-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build with Qt6 #86
Comments
I took a bit of a destructive approach to porting this to Qt 6 (removed some stuff I don't use because I don't think there is an equivalent in Qt 6), but haven't finished yet:
I'm getting this error:
|
https://doc.qt.io/qt-5/qvariant-obsolete.html#operator-lt says:
|
thanks for your work I hope you get it because I love this module and I hope to use it in qt6 |
I'm guessing the solution to the QVariant comparison issue is just to check for the most common types like int, QString, etc. So basically similar to the operator< that was removed. We could warn and fail for all other types. I don't know how it would be possible to support custom user types now that QMetaType::registerComparators() function was removed. |
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 oKcerG#84 Fixes oKcerG#86
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 oKcerG#84 Fixes oKcerG#86
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 oKcerG#84 Fixes oKcerG#86
Is there a plan to make this work on Qt6?
The text was updated successfully, but these errors were encountered: