I want to add a methodargument with a different type to my request.

My current code adds the version (int) as a string, it's working unless the server is strict with its wsdl:
Qt Code:
  1. request.addMethodArgument("VersionIm", "", version);
To copy to clipboard, switch view to plain text mode 

The desired type for this is Short, which is not available as a simple type.
I am trying to call it like this, but it is not working:
Qt Code:
  1. QtSoapType* versionTag = new QtSoapType(QtSoapQName("VersionIm", version), QtSoapType::Short);
  2. request.addMethodArgument(versionTag);
To copy to clipboard, switch view to plain text mode 

Any hints what I am doing wrong?