It should be:
Qt Code:
  1. result.canConvert<QVariantMap>()
To copy to clipboard, switch view to plain text mode