Hi, I would like to voice my support for this and even extend the idea:
* std::expected would also be nice here, because it can tell you /what/ went wrong. Yes, I know it is C++23... * Support for smart pointers, see QTBUG-60136 <https://bugreports.qt.io/browse/QTBUG-60136>. It is already possible use smart pointers today, as members but they need to be declared as raw pointers in Q_PROPERTY, see this class for example <https://gitlab.com/kelteseth/ScreenPlay/-/blob/master/ScreenPlay/inc/public/ScreenPlay/app.h#L39>. * General futures api, see QTBUG-101025 <https://bugreports.qt.io/browse/QTBUG-101025> so we do not block the main thread. Cheers, Eli
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development