Skip to content

PyQt5 to PyQt6#23

Merged
vowstar merged 4 commits into
masterfrom
pyqt6-migration
Jun 1, 2026
Merged

PyQt5 to PyQt6#23
vowstar merged 4 commits into
masterfrom
pyqt6-migration

Conversation

@vowstar

@vowstar vowstar commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Migrate the GUI from PyQt5 to PyQt6.

Supersedes #21. The PyQt5 to PyQt6 commits are the original work of
@jiapei100 (Pei Jia), cherry-picked here with authorship preserved;
all credit for the migration goes to him.

#21 could not go green because its CI matrix pinned Python 3.8 while
PyQt6 >= 6.8 requires Python >= 3.9, and the macos-11 runner is
retired. This PR adds one commit on top to fix the build-test matrix:

  • python 3.8 -> 3.12
  • macos-11 -> macos-15, ubuntu-22.04 -> ubuntu-latest
  • libfuse2 -> libfuse2t64 (noble), checkout@v4, setup-python@v5

Verified locally: deps install and MainWindow constructs under PyQt6
(QIcon.Mode/State, QApplication.primaryScreen, app.exec()).

Closes #21.

@vowstar vowstar force-pushed the pyqt6-migration branch from 90c7122 to b85e235 Compare June 1, 2026 04:22
vowstar added 2 commits June 1, 2026 12:27
PyQt6 needs Python >= 3.9, and macos-11 is retired. Reduce the build
test to building only; release packaging stays in release.yml.

- macos-11 -> macos-15, ubuntu-22.04 -> ubuntu-latest
- python 3.8 -> 3.12
- libfuse2 -> libfuse2t64 for noble; checkout@v4, setup-python@v5
- use "python -m pip" so pip self-upgrade works on Windows
- drop deploy step that broke on PR refs (github.ref_name slash)

Signed-off-by: Huang Rui <vowstar@gmail.com>
Bytecode encryption was removed in PyInstaller 6.0, so --key aborts the
Windows build.

Signed-off-by: Huang Rui <vowstar@gmail.com>
@vowstar vowstar force-pushed the pyqt6-migration branch from b85e235 to 2d81941 Compare June 1, 2026 04:27
@vowstar vowstar merged commit de05e37 into master Jun 1, 2026
3 checks passed
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.

2 participants