O'Reilly logo

An Introduction to Design Patterns in C++ with Qt 4 by Paul Ezust, Alan Ezust

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required