Skip to main content

Qt and Python development test

Published

November 16, 2024

Setting up a basic test of Qt and Python bindings is a good way to ensure that your development environment is working correctly. Here’s an example to get you started.

NoteNote

You can subsitute PyQt5 or PyQt6 for PySide6 if you prefer a different set of Python bindings for Qt.

Cheat sheet for a basic Qt development environment: create a virtual environment, pip install PySide6 and dependencies, then test with a short QLabel “Hi from PySide6” app

Cheat sheet for a basic Qt development environment: create a virtual environment, pip install PySide6 and dependencies, then test with a short QLabel “Hi from PySide6” app
Back to top