[Development] Allowing event delivery prior to and after QCoreApplication

Thiago Macieira thiago.macieira at intel.com
Tue Apr 14 18:23:42 CEST 2015


On Tuesday 14 April 2015 18:36:16 Robert Iakobashvili wrote:
> > The problem here is that QCoreApplication is not reference counted and we
> > can't change it without breaking *every* *single* *application*, since
> > this is what people usually do:

> C++ idiom with protected destructor
> enforces heap-allocation of objects and prevents stack allocation.
> It requires some public destroy() calling "delete this" inside.

Without breaking *every* *single* *application*

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list