[Interest] What is the difference.

Thiago Macieira thiago.macieira at intel.com
Mon Sep 22 17:10:33 CEST 2014


On Monday 22 September 2014 11:01:23 william.crocker at 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

It creates a QApplication, which enables a bunch of backend things, without 
also connecting to the display server.

Note that this constructor is removed in Qt 5.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list