3.2.  The Qt Core Module

[ fromfile: qtcore.xml id: qtcore ]

Qt 4 is a library consisting of smaller libraries, or modules. The most popular ones are:

Except for core, these modules need to be “enabled” in qmake project files in order to be used. For example:

QT += xml  # to use the xml module
QT += gui  # to use QWidgets
QT += sql  # to use SQL module

The following section will introduce some of the core library classes.