[Development] parented_ptr

Ville Voutilainen ville.voutilainen at gmail.com
Thu Nov 6 23:34:28 CET 2025


On Thu, 6 Nov 2025 at 16:39, Volker Hilsheimer <volker.hilsheimer at qt.io> wrote:
> As the mailing list doesn’t make for a great code review experience: https://codereview.qt-project.org/c/qt/qtbase/+/689322
>
> Good catch with QWindow (and possibly other types for which we explictly overload setParent to require something else than QObject *); QGraphicsItem is not a QObject.

I know that QGraphicsItem is not a QObjct, but previous descriptions
of this function also didn't SFINAE away QObject-*non*-derivates. :D


More information about the Development mailing list