title: QMetaType::Float not in QVariant::Type
body: <p>I have got an application that is working fine but it wasn't compiled with the warnings turned on. I'm trying to turn it back on and sorting them out but running out of ideas on how to fix this. I have :</p>
  
  <pre><code>QVariant someVar     
  QVariant::Type variantType = someVar.type();
  switch (variantType) {
      case QMetaType::QString:
          doSomething1();
          break;
      case QMetaType::Float:
          doSomething2();
          break;
  }
  </code></pre>
  
  <p>and got this warning/error:</p>
  
  <pre><code>error: case value ‘135’ not in enumerated type ‘QVariant::Type’ [-Werror=switch]
  </code></pre>
  
  <p>in the QMetaType::Float line. I checked up the QT docs and it listed QMetaType::Float as value 38. What could possibly have caused this?</p>
  
  <p>The closest thing I can find is at <a href="https://github.com/qbittorrent/qBittorrent/issues/2510" rel="noreferrer">https://github.com/qbittorrent/qBittorrent/issues/2510</a> which has the same error. Anyone encountered this before?</p>