1 2 3 4 5 6 7 8
import QtQml 2.0 NullObjectInitializerBase { testProperty: null property bool success: false Component.onCompleted: { success = testProperty === null; } }