Support Qt5 and Qt6 drop support for Qt4#23
Merged
MHendricks merged 11 commits intomainfrom Aug 19, 2025
Merged
Conversation
7baba6b to
34b5e4f
Compare
80602f7 to
1196a62
Compare
- QRegExp fixes for Qt6 - Convert CodeHighlighter from QRegExp to python regex
Note: This change breaks support for Qt4 and older versions of Qt5. See https://github.com/mottosso/Qt.py/blob/master/CAVEATS.md#fully-qualified-enums https://stackoverflow.com/a/72658216
Note: This change breaks support for Qt4 and older versions of Qt5. exec_ was a reserved keyword in python 2, its not in python 3. PyQt6 has dropped support for exec_ and its deprecated in PySide6. Modern Qt5 supports both. This requires disabling py2-3 compatibility checking as modernize doesn't like using `exec` as a object property. I'm also removing the compileall check as it's assumed that the linting flake8/black checks will cover checking for syntax errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Types of Changes