Chapter 3. Introduction to Qt

This chapter introduces the Qt development environment, including the compiler, linker, make, and qmake. It includes a first example using Qt, and introduces iterators and lists.

Qt is a modular system of classes and tools that makes it easier for you to write smaller modules of code yourself. This chapter explains how to start reusing Qt.

3.1

Example Project: Using QApplication and QLabel

82

3.2

Makefile, qmake, and Project Files

83

3.3

Getting Help Online

89

3.4

Style Guidelines and Naming Conventions

90

3.5

The Qt Core Module

91

3.6

Streams and Dates

91

Example Project: Using QApplication and QLabel

Example 3.1 shows a simple main program that creates a QApplication and a QLabel, manipulates some QStrings, and then pops up a graphical ...

Get An Introduction to Design Patterns in C++ with Qt 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.