In this chapter, we will look at using the Qt (www.qt.io) framework to build a graphical interface for a Python application. In this case, we will be extending the unit conversion application created in Chapter 9, Creating Command-line Interfaces.
The Qt framework is a commonly used framework for a lot of open source desktop applications. It is written in C++ and, typically, most applications use the C++ Qt library. However, it also has a Python wrapper around this library, which is what we will use in this chapter.