title: PyQt6: AttributeError Qt
body: <p>I need to translate the following code from PyQt5 (It works there) to PyQt6:</p>
  <pre><code>self.setWindowFlags(Qt.FramelessWindowHint)
  </code></pre>
  <p>This is the error:</p>
  <pre><code>AttributeError: type object 'Qt' has no attribute 'FramelessWindowHint'
  </code></pre>
  <p>I've already tried this:</p>
  <pre><code>self.setWindowFlags(Qt.WindowFlags.FramelessWindowHint)
  </code></pre>
  <p>It says:</p>
  <pre><code>AttributeError: type object 'Qt' has no attribute 'WindowFlags'
  </code></pre>