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

Edward Welbourne edward.welbourne at qt.io
Mon Dec 3 18:08:27 CET 2018


On Monday, 3 December 2018 02:02:31 PST Giuseppe D'Angelo via Development wrote:
>> 2) should we offer users some way (configure time switch, template
>> parameter, ...) to keep int-based indexes and avoid all these
>> warnings while they fix their code to use a ssize_t-like index?

Thiago Macieira (3 December 2018 17:27)
> No. There will be no warnings. We'll fix the all before the release.
>
> The question is only if we've identified all places that need to be
> fixed, those that don't produce a warning.

That covers all the warnings in the Qt code-base.
I think Giuseppe had client code in mind; we can't fix that.
Shall your changes leave client code getting type conflicts ?
I guess it shall, in so far as they're using int by default.
That has, after all, been The Qt Way for decades ...

	Eddy.



More information about the Development mailing list