[Interest] QWeakPointer in Qt5

Philippe philwave at gmail.com
Wed Jun 20 06:42:52 CEST 2012

In Qt 5 in git, I have seen changes to this implementation. Mainly, in
Qt 4.8, it was stated that "QWeakPointer serves as a replacement to
QPointer". This is no longer the case and this is mentionned as
deprecated (qsharedpointer.cpp).

QWeakPointer was quoted in 4.8 as "more efficient than QPointer, so it should be preferred in all new code.".

I use it a lot without trouble. So I would like to know why this (apparent)

Question for Thiago I guess...


More information about the Interest mailing list