Hi,

On 22 September 2014 23:01, william.croc...@analog.com
<william.croc...@analog.com> wrote:
> Gang:
>
> While we are talking about the need for a Q[Core]Application...
>
> What is the difference between;
>
>      QCoreApplication(argv,argc);
>
> and
>
>      QApplication(argc,argc,false);  // Note GUIEnabled=false

QCoreApplication is for non-GUI programs. QApplication is for
QWidget-based programs.

Halfway between the two, there's also QGuiApplication (new in Qt 5)
which is for GUI programs that don't use QWidgets (e.g. Qt Quick or
OpenGL).

You can find the details in the Qt documentation, e.g.
http://qt-project.org/doc/qt-5/QApplication.html


Regards,
Sze-Howe
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to