[Development] Another integer typedef OR how to prepare for 64-bit in Qt 5

Thiago Macieira thiago.macieira at intel.com
Fri Nov 2 20:36:15 CET 2018


On Friday, 2 November 2018 12:18:56 PDT André Somers wrote:
> > So you want users to know now, in Qt 5, that this particular type in the
> > API will become qsizetype in Qt 6?
> 
> Yes. Why not take it one step further and just call it qsizetype too? The
> docs can say that this will be int in Qt5, but will change in Qt 6 to what
> you started with?

Because qsizetype already exists in Qt 5 and it will remain as-is in Qt 6.

We need a type that is int in Qt 5 and qsizetype in Qt 6.

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






More information about the Development mailing list