QtScript knows nothing about your operator so it can't invoke it.