When extending QML with custom types written in C++, I started to wonder about differences between JS and C++.
This time I was wondering, if null
-checks on the C++-side are sufficiant, or if there is something like a QUndefined
that I might need to consider as well. As far as I can see, this is not described here.
Or to put it differently:
- What happens on the C++ side when I set a property to
undefined
on the QML side - What happens on the C++ side when I set a property to
null
on the QML side - What happens on the QML side when I set a property to
null
on the C++ side