Skip to content

Support Qt5 and Qt6 drop support for Qt4#23

Merged
MHendricks merged 11 commits intomainfrom
mikeh/qt6
Aug 19, 2025
Merged

Support Qt5 and Qt6 drop support for Qt4#23
MHendricks merged 11 commits intomainfrom
mikeh/qt6

Conversation

@MHendricks
Copy link
Member

@MHendricks MHendricks commented May 9, 2025

  • Adds support for Qt6. Newer versions of Qt5 still work, but older versions and Qt4 support is dropped.
  • Adds a plugin integration for 3ds Max 2025/2026 that adds a PrEditor shortcut to the Scripting menu in the application.

Checklist

  • I have read the CONTRIBUTING.md document
  • I formatted my changes with black
  • I linted my changes with flake8
  • I have added documentation regarding my changes where necessary
  • Any pre-existing tests continue to pass
  • Additional tests were made covering my changes

Types of Changes

  • Bugfix (change that fixes an issue)
  • New Feature (change that adds functionality)
  • Documentation Update (if none of the other choices apply)

@MHendricks MHendricks force-pushed the mikeh/qt6 branch 4 times, most recently from 7baba6b to 34b5e4f Compare May 21, 2025 22:53
@MHendricks MHendricks force-pushed the mikeh/qt6 branch 5 times, most recently from 80602f7 to 1196a62 Compare June 12, 2025 23:51
- QRegExp fixes for Qt6
- Convert CodeHighlighter from QRegExp to python regex
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.
@MHendricks MHendricks merged commit 5a9de95 into main Aug 19, 2025
17 checks passed
@MHendricks MHendricks deleted the mikeh/qt6 branch August 19, 2025 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant