Qt Code:
  1. QList<QVariant> list;
  2. QSet<QVariant> varSet;
  3. varSet = list.toSet();
To copy to clipboard, switch view to plain text mode 

Is this not possible? Am getting error If i do so saying this overload is not supported.