PyQt5 Tutorial

The complete PyQt5 tutorial — Create GUI applications with Python

The easy way to create desktop applications

Last updated 4 February 2024

Create Desktop GUI Applications with PyQt5

-->

PyQt is a Python library for creating GUI applications using the Qt toolkit. Created by Riverbank Computing, PyQt is free software (GPL licensed) and has been in development since 1999. PyQt5 was released in 2016 and last updated in October 2021.

This complete PyQt5 tutorial takes you from first concepts to building fully-functional GUI applications in Python. It requires some basic Python knowledge, but no previous familiarity with GUI concepts. Everything will be introduced step by by step, using hands-on examples.

PyQt5 is the Qt5-based edition of the Python GUI library PyQt from Riverbank Computing.

There are two major versions currently in use: PyQt5 based on Qt5 and PyQt6 based on Qt6. Both versions are almost completely compatible aside from imports. PyQt6 also makes some changes to how namespaces and flags work, but these are easily manageable.

This track consists of 36 tutorials. Keep checking back as I'm adding new tutorials regularly — last updated 4 February 2024 .

Getting started with PyQt5

Take your first steps building apps with Python & Qt5

Like writing any code, building PyQt5 applications is all about approaching it in the right way. In the first part of the course we cover the fundamentals necessary to get you building Python GUIs as quickly as possible. By the end of the first part you'll have a running QApplication which we can then customize.

1 video 6 tutorials 1:11:31

Creating your first app with PyQt5 video (07:32)
A simple Hello World! application with Python and Qt5

QMainWindow which offers some useful common interface elements such as toolbars and menus. These will be explored in more detail in the subsequent tutorials.