16.1.  Creational Patterns

[ fromfile: factory.xml id: factory ]

Object Creation. 



[65] QApplication is derived from QCoreApplication. When you #include <QApplication> you are including the macro #define qApp (static_cast<QApplication*>(QCoreApplication::instance())) QCoreApplication::instance() returns a pointer to the already defined instance or null, if no instance has been created.

[66] Introduced in Qt 4.5