Re: [Development] Models for QML (was Re: The future of smart pointers in Qt API)

2020-02-04 Thread Ola Røer Thorsen
Hi Shawn! tir. 4. feb. 2020 kl. 08:15 skrev Shawn Rutledge : > > > On 3 Feb 2020, at 10:26, Ola Røer Thorsen wrote: > > > > - The biggest struggle I have with Qt currently regarding pointers is > when you share a dynamic model of QObject* to qml. Here it would actually > be useful to have shared

[Development] Models for QML (was Re: The future of smart pointers in Qt API)

2020-02-03 Thread Shawn Rutledge
> On 3 Feb 2020, at 10:26, Ola Røer Thorsen wrote: > > - The biggest struggle I have with Qt currently regarding pointers is when > you share a dynamic model of QObject* to qml. Here it would actually be > useful to have shared_ptr, and I've solved this with some Q_GADGET-based > wrappers. (O