[ fromfile: qtcore.xml id: qtcore ]
Qt is a large library consisting of several smaller libraries, or modules. The most popular ones are
core
, including QObject, QThread, QFile, QVariant, and so forth
gui
, all classes derived from QWidget plus some related classes
xml
, for parsing and serializing XML
sql
, for communicating with SQL databases
phonon
, for playing multimedia files
webkit
, for using an embedded web browser, QtWebkit
Except for core
and gui
, these modules need to be "enabled" in qmake
project files. For example:
QT += xml # to use the xml module
QT -= gui # to not use QWidget
s
QT += sql # to use SQL module
Section 3.2.1 will introduce some of the core library classes.
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |