title: How to convert QList to QSet in Qt 6
body: <p>I am porting my application to Qt 6 and as I am reading documentation I see that classes are cleaned up a lot, <code>QList</code> and <code>QVector</code> are unified, <code>QStringList</code> is now alias to <code>QList&lt;QString&gt;</code> and so on.</p>
  <p>But now this gave me one problem.</p>
  <p>In my code (which is Qt 5) I am converting <code>QStringList</code> to <code>QSet</code> to eliminate duplicates from the list. I went through new documentation but I haven't seen a way to convert <code>QList</code> to <code>QSet</code> in Qt 6.</p>
  <p>So how do you convert <code>QList</code> to <code>QSet</code>? Or it is not possible and I will need to write a helper function for removing duplicates?</p>
  <p>EDIT: I am using Qt 6.0.1.</p>