Skip to content
  • Ahmad Samir's avatar
    More Qt6 build fixes · 3b58e4a9
    Ahmad Samir authored and Tomaz  Canabrava's avatar Tomaz Canabrava committed
    - Port QStringRef to QStringView (using Q5StringRef::toInt() because
      Q5StringView::toInt() uses toString() internally to get a QString
      which defeats the point of using a view)
    - Fix creating a QKeySequence from OR'ing Qt::Key and Qt::Modifiers by
      explicitly constructing a QKeySequence; IIUC, this is due to the two
      values coming from two different enums:
      "cannot convert ‘QIncompatibleFlag’ to ‘const QKeySequence&’"
    - Implicit cast from int to QChar is gone in Qt6
    - Implicit cast of QString to QFileInfo is gone in Qt6
    - Create a QByteArray to make QStringBuilder work
    - QHash::const_iterator can't be used in place of a
      QMultiHash::const_iterator
    3b58e4a9