Skip to content
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

Prepare for Wayland #203

Open
AndreWohnsland opened this issue Nov 9, 2024 · 1 comment
Open

Prepare for Wayland #203

AndreWohnsland opened this issue Nov 9, 2024 · 1 comment

Comments

@AndreWohnsland
Copy link
Owner

AndreWohnsland commented Nov 9, 2024

With the latest RPi release, wayland can be used on every RPi hardware. Currently QT5 has some issues with wayland, for example qt.qpa.wayland: Wayland does not support QWindow::requestActivate(). While this will not stop the application, this might lead to unwanted behaviour.

Possible solutions:

  • Enforce X11 usage
  • Update to pyqt6 with fallback to 5 for older systems (backwards compatible)

The latest os can install (other than older) PyQt6 now over apt: sudo apt install python3-pyqt6, but this might conflict with existing venvs, so this might also need rebuilding. Older systems might not be able to install pyqt6 at all over this way, so some sort of fallback or version pin with no more updates should be enforced to prevent bricking running systems.

@AndreWohnsland
Copy link
Owner Author

PyQt6 is not available for older, but only up-to-date systems. This would cause high maintenance overhead and hence will not an option. Either enforcing X11 or adjusting PyQt5 to cause minimal as possible impact on latest systems.

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

No branches or pull requests

1 participant