PySide6

Build a Desktop App with PySide6 #7: Packaging and Distribution — Building Executables with PyInstaller
7 min read

Build a Desktop App with PySide6 #7: Packaging and Distribution — Building Executables with PyInstaller

Bundle the app with PyInstaller so it runs on computers without Python installed. The onedir vs onefile trade-off, including data files, platform-specific caveats, and pyside6-deploy — the final part of the series.

Build a Desktop App with PySide6 #6: Threads and Timers — Keeping the UI Responsive
6 min read

Build a Desktop App with PySide6 #6: Threads and Timers — Keeping the UI Responsive

See exactly why wiring a long task to a button freezes the whole window, then fix it with the QThread + Worker pattern — the canonical code that keeps the UI responsive. Also covers QTimer for periodic work.

Build a Desktop App with PySide6 #5: Model/View — Connecting Data to Lists and Tables
7 min read

Build a Desktop App with PySide6 #5: Model/View — Connecting Data to Lists and Tables

We hit the limits of stuffing data directly into widgets and move to Qt model/view. Subclassing QAbstractTableModel, change notification, a QSortFilterProxyModel search filter, and selection handling — all practiced on a todo table.

Build a Desktop App with PySide6 #4: Qt Designer and UI Files — Draw the Screen, Then Load It
7 min read

Build a Desktop App with PySide6 #4: Qt Designer and UI Files — Draw the Screen, Then Load It

Draw your screen with Qt Designer, which ships with PySide6, and load the .ui file in two ways: pyside6-uic and QUiLoader. We practice the code-and-screen separation workflow on the todo app form.

Build a Desktop App with PySide6 #3: Signals and Slots — the Core of Event Handling
5 min read

Build a Desktop App with PySide6 #3: Signals and Slots — the Core of Event Handling

A tour of signals and slots, the center of event handling in Qt. From clicked.connect through signals that carry arguments to custom signals declared with Signal, and wiring real behavior into the todo app.

Build a Desktop App with PySide6 #2: Widgets and Layouts — Assembling the Screen
5 min read

Build a Desktop App with PySide6 #2: Widgets and Layouts — Assembling the Screen

A catalog of the widgets you will use most, and how to assemble a real screen by nesting QVBoxLayout and QHBoxLayout. We build the screen skeleton of the todo app we will extend throughout the series.

Build a Desktop App with PySide6 #1: What PySide6 Is — Desktop Apps with Qt and Python
6 min read

Build a Desktop App with PySide6 #1: What PySide6 Is — Desktop Apps with Qt and Python

A comparison of your options for building desktop apps in Python, and the case for PySide6, the official Qt bindings. We go from installation to showing your first window and understanding what the event loop means.