QQuick3DSpotLight initializes m_innerConeAngle = -1, but you cannot set it back to -1 if you ever change it, as it is limited to range [0, 180] .
It should either be initialized to a valid value or -1 should be included in the range of valid values.
Also, default values of cone angle properties are not documented.