You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that we can pass values to QML which are not QObject's (i.e. are not pointers) but they are values. It should be more safe to use them without memory leaking
This would be really handy indeed, even with the random name "Gadget". Note that it doesn't provide signals or slots, so we wouldn't be able to bind callbacks to it.
It seems that we can pass values to QML which are not QObject's (i.e. are not pointers) but they are values. It should be more safe to use them without memory leaking
https://doc.qt.io/qt-5/qobject.html#Q_GADGET
https://habrahabr.ru/post/307816/
The text was updated successfully, but these errors were encountered: