[Development] Qt 5 types under consideration for deprecation / removal in Qt 6

André Pönitz apoenitz at t-online.de
Fri May 31 08:29:58 CEST 2019


On Wed, May 29, 2019 at 02:44:31PM +0200, Mutz, Marc via Development wrote:
> On 2019-05-29 13:52, Konstantin Tokarev wrote:
> > 29.05.2019, 13:56, "Mutz, Marc via Development"
> > <development at qt-project.org>:
> > > Hi,
> > > 
> > > Here's a list of stuff I consider has served it's purpose and is no
> > > longer needed, with respective replacements:
> > > 
> > > = Priority 1 =
> > > 
> > > == QSharedDataPointer / QExplicitlySharedDataPointer ==
> > 
> > It seems like you've forgotten migration path here.
> > 
> > Or are all those who use intrusive reference counting in their classes
> > on their own since now?
> 
> Do you actually think it's Qt's job to define how _you_ implement your
> classes?

Qt doesn't do that.

Nobody is forced to use QSharedDataPointer or QExplicitlySharedDataPointer
for their classes.

> In my projects, I've _always_ written my own pimpl_ptr, because I
> might want to use it in backend components that don't use Qt. [...]

The fact that you personally don't use it does neither imply that it useless
for everyone else, nor is that a reason for deprecation.

Andre'
 


More information about the Development mailing list