Function qtdata:tostring() returns a Lua string representing the value contained in the Qt variant.