QCoreApplication (http://doc.qt.io/qt-5.9/qcoreapplication.html) is a QObject-derived class which is used in non-UI Qt applications to achieve quite a few things:
- It handles the application's event loop, which for non-UI applications is important whenever you need timers for processing, and other kinds of interaction with the operating system, mostly disk or network I/O. The event loop is started by the exec function.
- It stores and retrieves any application properties via accessor methods (name, version, organization, organization domain, and so on).
- It provides support for localization by managing installed translation files and providing string translation methods.
- It gives access to application-related ...