How do I solve this:
no known conversion for argument 5 from ‘QVariantMap {aka QMap}’ to ‘QVariantMap& {aka QMap&}’
gcc has this problem, MSVS does not, any idea?
You're trying to convert an instance of a class to a reference to an instance. You need to use the &
operator on argument five in order to pass in a reference, which is apparently what is expected.