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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.