Why is Qt Creator used in the tutorial?

Understanding the difference between Qt Creator and Qt Designer
Heads up! You've already completed this tutorial.

If you've been following along with the PyQt5 tutorials on this site, you may have noticed that some of them refer to Qt Creator rather than Qt Designer. This can be a little confusing, especially if you've only installed Qt Designer as a standalone tool. So let's clear that up.

Qt Creator vs. Qt Designer

Qt Creator is the full integrated development environment (IDE) for Qt. It bundles together several tools — a code editor, a debugger, project management features, and a visual UI designer — into one application.

Qt Designer is just the visual UI designer part. It's the tool you use to drag and drop widgets, build layouts, and create .ui files.

Here's the thing: the Qt Designer component inside Qt Creator is identical to the standalone Qt Designer application. They share the same interface, the same widgets, and the same functionality. When a tutorial shows you how to do something in Qt Creator's design view, you're looking at Qt Designer.

So is there any advantage to using Qt Creator?

Not really — at least not for what we're doing with PyQt5.

Qt Creator adds project management features and a C++ code editor that are useful if you're developing Qt applications in C++. But for Python GUI development with PyQt5, you don't need any of that. The standalone Qt Designer gives you everything you need to create and edit .ui files.

There are a few very small exceptions where the two tools differ. For example, Qt Creator has some extra features when working with project-managed resources (.qrc files tied to a Qt Creator project). But these differences are minor and won't affect your ability to follow along with any of the tutorials here.

Which should you use?

Use whichever you have installed. If you already have Qt Creator, great — you can use the design view within it. If you only have the standalone Qt Designer, that works just as well. The steps in the tutorials apply to both.

Packaging Python Applications with PyInstaller by Martin Fitzpatrick — This step-by-step guide walks you through packaging your own Python applications from simple examples to complete installers and signed executables.

Get the book

If you're installing from scratch and only plan to use Python with PyQt5, the standalone Qt Designer is the lighter option. You can install Qt Designer as a standalone tool via the pyqt5-tools package:

sh
pip install pyqt5-tools

This gives you Qt Designer without the overhead of the full Qt Creator IDE.

Summary

Qt Creator and Qt Designer share the same UI design tool under the hood. Any tutorial that references Qt Creator's designer view can be followed using the standalone Qt Designer, and vice versa. Pick whichever is most convenient for you and carry on building your PyQt5 applications. To get started, check out our first steps with Qt Designer tutorial, or learn how to design your GUI layout with Qt Designer.

1:1 Coaching & Tutoring for your Python GUIs project
Martin Fitzpatrick Python GUIs Coaching & Training
60 mins ($195) Book Now

1:1 Python GUIs Coaching & Training

Comprehensive code reviewBugfixes & improvements • Maintainability advice and architecture improvements • Design and usability assessment • Suggestions and tips to expand your knowledgePackaging and distribution help for Windows, Mac & Linux • Find out more.

Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak
Martin Fitzpatrick

Why is Qt Creator used in the tutorial? was written by Martin Fitzpatrick.

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt. Martin founded PythonGUIs to provide easy to follow GUI programming tutorials to the Python community. He has written a number of popular Python books on the subject.