The QCoreApplication class provides an event loop for console Qt applications. This class is used by non-GUI applications.