Qt4 tutorial

last modified October 18, 2023

This is Qt4 tutorial. In this tutorial, you will learn the basics of GUI programming with Qt4 and C++. The Qt4 tutorial is suitable of beginners and intermediate programmers. Qt5 tutorial is a successor of this tutorial. Note that the tutorial uses features of C++11.

Table of contents


Qt is a cross-platform application development framework. Some of the well known applications developed with Qt are KDE, Opera, Google Earth, and Skype. Qt was first publicly released on May 1995. It is dual licensed. That means, it can be used for creating open source applications as well as commercial ones. Qt toolkit is a very powerful toolkit. It is well established in the open source community.


My name is Jan Bodnar and I am a passionate programmer with many years of programming experience. I have been writing programming articles since 2007. So far, I have written over 1400 articles and 8 e-books. I have over eight years of experience in teaching programming.