Skip to content

Add system-pyside6 integration for Qt system themes - #4534

Merged
freakboy3742 merged 3 commits into
beeware:mainfrom
johnzhou721:system-pyside6
Jul 7, 2026
Merged

Add system-pyside6 integration for Qt system themes#4534
freakboy3742 merged 3 commits into
beeware:mainfrom
johnzhou721:system-pyside6

Conversation

@johnzhou721

@johnzhou721 johnzhou721 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Adds system-pyside6 integration for Qt system themes, including documentation, dependencies, and a TOML optional.

Fixes #3995.

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

Assisted-by:

@johnzhou721

johnzhou721 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

FWIW: I'm scope-creeping a bit on the CI smoke-testing of the system backend, since system PySide6 installation require Ubuntu 26.04... and Ubuntu 26.04 updated a lot of stuff that is going to create significant friction for Toga's CI testing.

So I'm going to remove CI tests for now; 3b18ce9 should, however, demonstrate the fact that the list of dependencies in the docs works (there's a deprecation warnign raised which creates a stall, but that's a qasync issue I'm trying to resolve upstream).

@johnzhou721
johnzhou721 marked this pull request as ready for review July 4, 2026 15:20
johnzhou721 and others added 2 commits July 4, 2026 09:20
Removed unnecessary empty lines and the test_requires section.

@freakboy3742 freakboy3742 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made a few tweaks to the docs (mostly making better use of tabs to differentiate between system and standalone bindings); but otherwise this looks great. Thanks for the update.

Comment thread docs/en/snippets/qt-prerequisites.md Outdated
### Ubuntu 24.04 / Debian 11+
These instructions are different on almost every version of Linux and Unix, in addition to whether Wayland or X11 is used, or whether the system PySide6 integration is used; here are some of the common alternatives:

#### Ubuntu 24.10+ / Debian 13+ (with system integration)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Ubuntu 24.10+ / Debian 13+ (with system integration)
### Ubuntu 24.10+ / Debian 13+ (with system integration)

@freakboy3742
freakboy3742 merged commit 2190b4c into beeware:main Jul 7, 2026
186 of 189 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.

Integration of Qt backend with system themes

2 participants