Tutorial by Examples

Download Qt for Linux Open Source Version Go to https://www.qt.io/download-open-source/ and click on Download Now, make sure that you are downloading the Qt installer for Linux. A file with the name qt-unified-linux-x-online.run will be downloaded, then add exec permission chmod +x qt-unified-...
In this example, we simply create and show a push button in a window frame on the desktop. The push button will have the label Hello world! This represents the simplest possible Qt program. First of all we need a project file: helloworld.pro QT += core gui greaterThan(QT_MAJOR_VERSION, ...
QtCreator is, at the moment, the best tool to create a Qt application. In this example, we will see how to create a simple Qt application which manage a button and write text. To create a new application click on File->New File or Project: Then choose the Projects->Application->Qt Widge...

Page 1 of 1