[Development] A new approach for Qt main()

Morten Sorvig Morten.Sorvig at qt.io
Fri Dec 9 15:34:47 CET 2016


> On 9 Dec 2016, at 11:41, Laszlo Agocs <laszlo.agocs at qt.io> wrote:
> 
>  
> Special macros for straightforward applications on exotic systems? Sure. Forcing an unnecessary change on existing and future applications on platforms that are doing just fine (i.e. the majority)? No. 
> 
<snip>

>  
> Also, if migration for the typical applications is seen that easy, it should be no problem for developers targeting exotic systems to provide a new-style entry point in their apps.

I think we should have one primary way to handle app init though, which would be mentioned first in the documentation and which most of the examples use. So I would prefer to keep the current API if we can’t find a new primary API.

Morten


More information about the Development mailing list