0

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?

tiago
  • 22,602
  • 12
  • 72
  • 88
Fabian
  • 1

1 Answers1

0

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.

pattivacek
  • 5,617
  • 5
  • 48
  • 62