QApplication, QGuiApplication and QCoreApplication
I have a simple question.
In Qt we have tree main classes like QApplication, QGuiApplication and QCoreApplication
-QApplication is allocated to standard QWidget applications
- QCoreApplication is allocated to console application
and QGuiApplication is allocated to console application when in console application we need use some classes from
gui module like QDesktopServices? I have right?
Regards,
Re: QApplication, QGuiApplication and QCoreApplication
QCoreApplication is the base class, QGuiApplication extends the base class with functionality related to handling windows and GUI stuff (non-widget related, e.g. OpenGL or QtQuick), QApplication extends QGuiApplication with functionality related to handling widgets.