- Qt 6.9
- New Classes and Functions in Qt 6.0
- Qt 6.9.0 Reference Documentation

# New Classes and Functions in Qt 6.0

The section provides a comprehensive list of all new classes and functions introduced in Qt 6.0.

- New Namespaces
- New Classes
- New Member Functions
- New Functions in Namespaces
- New Global Functions
- New Macros
- New Enum Types
- New Enum Values
- New Type Aliases
- New Properties
- New Variables
- New QML Types
- New QML Properties

### New Namespaces

`(since 6.0)` namespace | QNativeInterface
`(since 6.0)` namespace | QQuickOpenGLUtils

### New Classes

A
  QAbstractFileIconProvider
  QAction
  QActionGroup
  QAdoptSharedDataTag
  QAndroidOffscreenSurface (QNativeInterface)
  QAnyStringView
  QAxBaseObject
  QAxBaseWidget
  QAxObjectInterface

B
  QBoundingVolume (Qt3DCore)
  QByteArrayView

C
  QCocoaGLContext (QNativeInterface)
  QConstIterator
  QCoreSettings (Qt3DCore)

E
  QEGLContext (QNativeInterface)
  QEventPoint

G
  QGeometryView (Qt3DCore)
  QGLXContext (QNativeInterface)

I
  QInputDevice
  QIterable
  QIterator

K
  QKeyCombination

M
  QMetaContainer
  QMetaSequence
  QModelRoleData
  QModelRoleDataSpan

O
  QObjectBindableProperty
  QObjectComputedProperty
  QOpenGLVersionFunctionsFactory

P
  QPageRanges
  QPartialOrdering
  QPickingProxy (Qt3DRender)
  QPointerEvent
  QPointingDevice
  QPromise
  QProperty
  QPropertyBindingError
  QPropertyData

Q
  QQuick3DTextureData
  QQuickGraphicsConfiguration
  QQuickGraphicsDevice
  QQuickRenderTarget

S
  QSGD3D11Texture (QNativeInterface)
  QSGMetalTexture (QNativeInterface)
  QSGOpenGLTexture (QNativeInterface)
  QSGVulkanTexture (QNativeInterface)
  QSinglePointEvent
  QStringTokenizer

T
  QTaggedIterator
  QTaskBuilder (QtConcurrent)
  QTypeRevision

U
  QUntypedBindable
  QUtf8StringView

V
  QVariantConstPointer
  QVariantPointer
  QVariantRef

W
  QWaylandQtTextInputMethodManager
  QWGLContext (QNativeInterface)

### New Member Functions

Class QAbstractItemModel:

`(since 6.0)` virtual bool | clearItemData(const QModelIndex &index)
`(since 6.0)` virtual void | multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const

Class QAbstractItemView:

`(since 6.0)` virtual void | initViewItemOption(QStyleOptionViewItem *option) const
`(since 6.0)` virtual QAbstractItemDelegate * | itemDelegateForIndex(const QModelIndex &index) const

Class QAbstractProxyModel:

`(since 6.0)` virtual bool | clearItemData(const QModelIndex &index) override

Class QAction:

`(since 6.0)` QList<QObject *> | associatedObjects() const

Class QBitArray:

`(since 6.0)` quint32 | toUInt32(QSysInfo::Endian endianness, bool *ok) const

Class QBitmap:

`(since 6.0)` QBitmap | fromPixmap(const QPixmap &pixmap)

Class QBluetoothDeviceInfo:

`(since 6.0)` QList<QBluetoothUuid> | serviceUuids() const

Class QByteArray:

`(since 6.0)` int | compare(QByteArrayView bv, Qt::CaseSensitivity cs) const
`(since 6.0)` bool | contains(QByteArrayView bv) const
`(since 6.0)` qsizetype | count(QByteArrayView bv) const
`(since 6.0)` bool | endsWith(QByteArrayView bv) const
`(since 6.0)` QByteArray | first(qsizetype n) &&
`(since 6.0)` QByteArray | first(qsizetype n) const &
`(since 6.0)` qsizetype | indexOf(QByteArrayView bv, qsizetype from) const
`(since 6.0)` QByteArray & | insert(qsizetype i, QByteArrayView data)
`(since 6.0)` QByteArray | last(qsizetype n) &&
`(since 6.0)` QByteArray | last(qsizetype n) const &
`(since 6.0)` qsizetype | lastIndexOf(QByteArrayView bv, qsizetype from) const
`(since 6.0)` void | push_back(QByteArrayView str)
`(since 6.0)` void | push_front(QByteArrayView str)
`(since 6.0)` QByteArray & | replace(QByteArrayView before, QByteArrayView after)
`(since 6.0)` QByteArray | sliced(qsizetype pos, qsizetype n) &&
`(since 6.0)` QByteArray | sliced(qsizetype pos, qsizetype n) const &
`(since 6.0)` QByteArray | sliced(qsizetype pos) &&
`(since 6.0)` QByteArray | sliced(qsizetype pos) const &
`(since 6.0)` bool | startsWith(QByteArrayView bv) const

Class QCanBusDeviceInfo:

`(since 6.0)` QString | alias() const

Class QChar:

`(since 6.0)` QChar | fromUcs2(char16_t c)
`(since 6.0)` R | fromUcs4(char32_t c)

Class QDataStream:

`(since 6.0)` QDataStream & | operator<<(char16_t c)
`(since 6.0)` QDataStream & | operator<<(char32_t c)
`(since 6.0)` QDataStream & | operator<<(QDataStream &out, const std::pair<T1, T2> &pair)
`(since 6.0)` QDataStream & | operator>>(char16_t &c)
`(since 6.0)` QDataStream & | operator>>(char32_t &c)
`(since 6.0)` QDataStream & | operator>>(QDataStream &in, std::pair<T1, T2> &pair)

Class QDate:

`(since 6.0)` QDate | fromString(QStringView string, Qt::DateFormat format)
`(since 6.0)` QDate | fromString(QStringView string, QStringView format, QCalendar cal)
`(since 6.0)` QDate | fromString(const QString &string, QStringView format, QCalendar cal)
`(since 6.0)` QDate | fromString(const QString &string, QStringView format, int baseYear, QCalendar cal)

Class QDateTime:

`(since 6.0)` QDateTime | fromString(QStringView string, Qt::DateFormat format)
`(since 6.0)` QDateTime | fromString(QStringView string, QStringView format, QCalendar cal)
`(since 6.0)` QDateTime | fromString(const QString &string, QStringView format, QCalendar cal)
`(since 6.0)` QDateTime | fromString(const QString &string, QStringView format, int baseYear, QCalendar cal)

Class QDebug:

`(since 6.0)` QDebug & | operator<<(QByteArrayView t)
`(since 6.0)` QDebug & | operator<<(QUtf8StringView s)
`(since 6.0)` QDebug & | operator<<(const char16_t *t)
`(since 6.0)` QString | toString(const T &object)

Class QDir:

`(since 6.0)` void | addSearchPath(const QString &prefix, const std::filesystem::path &path)
`(since 6.0)` std::filesystem::path | filesystemAbsolutePath() const
`(since 6.0)` std::filesystem::path | filesystemCanonicalPath() const
`(since 6.0)` std::filesystem::path | filesystemPath() const
`(since 6.0)` void | setPath(const std::filesystem::path &path)

Class QDropEvent:

`(since 6.0)` Qt::MouseButtons | buttons() const
`(since 6.0)` Qt::KeyboardModifiers | modifiers() const
`(since 6.0)` QPointF | position() const

Class QEvent:

`(since 6.0)` virtual QEvent * | clone() const
`(since 6.0)` bool | isInputEvent() const
`(since 6.0)` bool | isPointerEvent() const
`(since 6.0)` bool | isSinglePointEvent() const

Class QExplicitlySharedDataPointer:

`(since 6.0)` T * | get() const
`(since 6.0)` void | reset(T *ptr)

Class QFile:

`(since 6.0)` bool | copy(const std::filesystem::path &newName)
`(since 6.0)` std::filesystem::path | filesystemFileName() const
`(since 6.0)` bool | link(const std::filesystem::path &newName)
`(since 6.0)` QFileDevice::Permissions | permissions(const std::filesystem::path &filename)
`(since 6.0)` bool | rename(const std::filesystem::path &newName)
`(since 6.0)` void | setFileName(const std::filesystem::path &name)
`(since 6.0)` bool | setPermissions(const std::filesystem::path &filename, QFileDevice::Permissions permissionSpec)

Class QFileInfo:

`(since 6.0)` std::filesystem::path | filesystemAbsoluteFilePath() const
`(since 6.0)` std::filesystem::path | filesystemAbsolutePath() const
`(since 6.0)` std::filesystem::path | filesystemCanonicalFilePath() const
`(since 6.0)` std::filesystem::path | filesystemCanonicalPath() const
`(since 6.0)` std::filesystem::path | filesystemFilePath() const
`(since 6.0)` std::filesystem::path | filesystemPath() const
`(since 6.0)` std::filesystem::path | filesystemSymLinkTarget() const
`(since 6.0)` void | setFile(const std::filesystem::path &path)
`(since 6.0)` void | stat()

Class QFuture:

`(since 6.0)` bool | isSuspended() const
`(since 6.0)` bool | isSuspending() const
`(since 6.0)` bool | isValid() const
`(since 6.0)` QFuture<T> | onCanceled(Function &&handler)
`(since 6.0)` QFuture<T> | onFailed(Function &&handler)
`(since 6.0)` void | setSuspended(bool suspend)
`(since 6.0)` void | suspend()
`(since 6.0)` T | takeResult()
`(since 6.0)` QFuture<QFuture<T>::ResultType<Function>> | then(Function &&function)
`(since 6.0)` QFuture<QFuture<T>::ResultType<Function>> | then(QThreadPool *pool, Function &&function)
`(since 6.0)` QFuture<QFuture<T>::ResultType<Function>> | then(QtFuture::Launch policy, Function &&function)
`(since 6.0)` void | toggleSuspended()

Class QFutureWatcher:

`(since 6.0)` bool | isSuspended() const
`(since 6.0)` bool | isSuspending() const
`(since 6.0)` void | setSuspended(bool suspend)
`(since 6.0)` void | suspend()
`(since 6.0)` void | suspended()
`(since 6.0)` void | suspending()
`(since 6.0)` void | toggleSuspended()

Class QGraphicsLayoutItem:

`(since 6.0)` virtual bool | isEmpty() const

Class QHash:

`(since 6.0)` size_t | qHash(QPoint key, size_t seed)
`(since 6.0)` size_t | qHash(char16_t key, size_t seed)
`(since 6.0)` size_t | qHash(char32_t key, size_t seed)
`(since 6.0)` size_t | qHash(char8_t key, size_t seed)
`(since 6.0)` size_t | qHash(const QTypeRevision &key, size_t seed)
`(since 6.0)` size_t | qHash(std::nullptr_t key, size_t seed)
`(since 6.0)` size_t | qHash(wchar_t key, size_t seed)
`(since 6.0)` size_t | qHashMulti(size_t seed, const T &... args)
`(since 6.0)` size_t | qHashMultiCommutative(size_t seed, const T &... args)

Class QHeaderView:

`(since 6.0)` virtual void | initStyleOptionForIndex(QStyleOptionHeader *option, int logicalIndex) const

Class QIODevice:

`(since 6.0)` virtual qint64 | skipData(qint64 maxSize)

Class QIcon:

`(since 6.0)` QPixmap | pixmap(const QSize &size, qreal devicePixelRatio, QIcon::Mode mode, QIcon::State state) const

Class QImage:

`(since 6.0)` QImage | convertedTo(QImage::Format format, Qt::ImageConversionFlags flags) &&
`(since 6.0)` QImage | convertedTo(QImage::Format format, Qt::ImageConversionFlags flags) const &
`(since 6.0)` QImage | fromHBITMAP(HBITMAP hbitmap)
`(since 6.0)` QImage | fromHICON(HICON icon)
`(since 6.0)` void | mirror(bool horizontal, bool vertical)
`(since 6.0)` void | rgbSwap()
`(since 6.0)` HBITMAP | toHBITMAP() const
`(since 6.0)` HICON | toHICON(const QImage &mask) const

Class QImageIOHandler:

`(since 6.0)` bool | allocateImage(QSize size, QImage::Format format, QImage *image)

Class QImageReader:

`(since 6.0)` int | allocationLimit()
`(since 6.0)` void | setAllocationLimit(int mbLimit)

Class QInputEvent:

`(since 6.0)` const QInputDevice * | device() const

Class QJsonValue:

`(since 6.0)` qint64 | toInteger(qint64 defaultValue) const

Class QKeyEvent:

`(since 6.0)` QKeyCombination | keyCombination() const

Class QLabel:

`(since 6.0)` QPicture | picture() const

Class QLatin1StringView:

`(since 6.0)` QLatin1StringView | first(qsizetype n) const
`(since 6.0)` QLatin1StringView | last(qsizetype n) const
`(since 6.0)` QLatin1StringView | sliced(qsizetype pos) const
`(since 6.0)` QLatin1StringView | sliced(qsizetype pos, qsizetype n) const
`(since 6.0)` QString | toString() const
`(since 6.0)` decltype(qTokenize(*this, std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const

Class QLibraryInfo:

`(since 6.0)` QString | path(QLibraryInfo::LibraryPath p)

Class QList:

`(since 6.0)` void | append(QList<T> &&value)
`(since 6.0)` QList<T> | first(qsizetype n) const
`(since 6.0)` QList<T> | last(qsizetype n) const
`(since 6.0)` QList<T> & | operator+=(QList<T> &&other)
`(since 6.0)` QList<T> & | operator<<(QList<T> &&other)
`(since 6.0)` void | resize(qsizetype size)
`(since 6.0)` void | resize(qsizetype size, QList<T>::parameter_type c)
`(since 6.0)` QList<T> | sliced(qsizetype pos, qsizetype n) const
`(since 6.0)` QList<T> | sliced(qsizetype pos) const

Class QLocale:

`(since 6.0)` QString | quoteString(QStringView str, QLocale::QuotationStyle style) const

Class QMap:

`(since 6.0)` QMap<Key, T>::iterator | erase(QMap<Key, T>::const_iterator first, QMap<Key, T>::const_iterator last)
`(since 6.0)` std::map<Key, T> | toStdMap() &&

Class QMargins:

`(since 6.0)` QMargins | operator|(const QMargins &m1, const QMargins &m2)

Class QMarginsF:

`(since 6.0)` QMarginsF | operator|(const QMarginsF &m1, const QMarginsF &m2)

Class QMetaMethod:

`(since 6.0)` QMetaType | parameterMetaType(int index) const
`(since 6.0)` QByteArray | parameterTypeName(int index) const
`(since 6.0)` int | relativeMethodIndex() const
`(since 6.0)` QMetaType | returnMetaType() const

Class QMetaProperty:

`(since 6.0)` QUntypedBindable | bindable(QObject *object) const
`(since 6.0)` bool | isBindable() const
`(since 6.0)` QMetaType | metaType() const
`(since 6.0)` int | typeId() const

Class QMetaSequence:

`(since 6.0)` QMetaSequence | fromContainer()
`(since 6.0)` bool | operator!=(const QMetaSequence &lhs, const QMetaSequence &rhs)
`(since 6.0)` bool | operator==(const QMetaSequence &lhs, const QMetaSequence &rhs)

Class QMetaType:

`(since 6.0)` qsizetype | alignOf() const
`(since 6.0)` QPartialOrdering | compare(const void *lhs, const void *rhs) const
`(since 6.0)` bool | equals(const void *lhs, const void *rhs) const
`(since 6.0)` bool | hasRegisteredDebugStreamOperator() const
`(since 6.0)` bool | hasRegisteredMutableViewFunction()
`(since 6.0)` bool | registerMutableView(To (From::*)() function)
`(since 6.0)` bool | registerMutableView(UnaryFunction function)
`(since 6.0)` bool | view(QMetaType fromType, void *from, QMetaType toType, void *to)

Class QModbusReply:

`(since 6.0)` QList<QModbusDevice::IntermediateError> | intermediateErrors() const

Class QModelIndex:

`(since 6.0)` void | multiData(QModelRoleDataSpan roleDataSpan) const

Class QMultiHash:

`(since 6.0)` QMultiHash<Key, T> & | unite(const QHash<Key, T> &other)

Class QMultiMap:

`(since 6.0)` QMultiMap<Key, T>::iterator | erase(QMultiMap<Key, T>::const_iterator first, QMultiMap<Key, T>::const_iterator last)

Class QSGD3D11Texture:

`(since 6.0)` QSGTexture * | fromNative(void *texture, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options)

Class QSGMetalTexture:

`(since 6.0)` QSGTexture * | fromNative(int texture, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options)

Class QSGOpenGLTexture:

`(since 6.0)` QSGTexture * | fromNative(GLuint textureId, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options)

Class QSGVulkanTexture:

`(since 6.0)` QSGTexture * | fromNative(VkImage image, VkImageLayout layout, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options)

Class QPagedPaintDevice:

`(since 6.0)` QPageRanges | pageRanges() const
`(since 6.0)` virtual void | setPageRanges(const QPageRanges &ranges)

Class QPersistentModelIndex:

`(since 6.0)` void | multiData(QModelRoleDataSpan roleDataSpan) const

Class QPointer:

`(since 6.0)` T * | get() const

Class QProcess:

`(since 6.0)` std::function<void ()> | childProcessModifier() const
`(since 6.0)` void | setChildProcessModifier(const std::function<void ()> &modifier)
`(since 6.0)` void | startCommand(const QString &command, QIODeviceBase::OpenMode mode)

Class QQmlApplicationEngine:

`(since 6.0)` void | setExtraFileSelectors(const QStringList &extraFileSelectors)

Class QQmlExtensionPlugin:

`(since 6.0)` virtual void | unregisterTypes()

Class QQuickItem:

`(since 6.0)` virtual void | geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry)

Class QQuickRenderControl:

`(since 6.0)` void | beginFrame()
`(since 6.0)` void | endFrame()
`(since 6.0)` bool | initialize()
`(since 6.0)` int | samples() const
`(since 6.0)` void | setSamples(int sampleCount)
`(since 6.0)` QQuickWindow * | window() const

Class QQuickWindow:

`(since 6.0)` void | afterFrameEnd()
`(since 6.0)` void | beforeFrameBegin()
`(since 6.0)` QSGRendererInterface::GraphicsApi | graphicsApi()
`(since 6.0)` QQuickGraphicsConfiguration | graphicsConfiguration() const
`(since 6.0)` QQuickGraphicsDevice | graphicsDevice() const
`(since 6.0)` QQuickRenderTarget | renderTarget() const
`(since 6.0)` void | setGraphicsApi(QSGRendererInterface::GraphicsApi api)
`(since 6.0)` void | setGraphicsConfiguration(const QQuickGraphicsConfiguration &config)
`(since 6.0)` void | setGraphicsDevice(const QQuickGraphicsDevice &device)
`(since 6.0)` void | setRenderTarget(const QQuickRenderTarget &target)

Class QRect:

`(since 6.0)` QRect | span(const QPoint &p1, const QPoint &p2)

Class QRegion:

`(since 6.0)` QRegion | fromHRGN(HRGN hrgn)
`(since 6.0)` HRGN | toHRGN() const

Class QRegularExpression:

`(since 6.0)` QRegularExpression | fromWildcard(QStringView pattern, Qt::CaseSensitivity cs, QRegularExpression::WildcardConversionOptions options)

Class QSGRenderNode:

`(since 6.0)` virtual void | prepare()

Class QSGTexture:

`(since 6.0)` virtual void | commitTextureOperations(QRhi *rhi, QRhiResourceUpdateBatch *resourceUpdates)
`(since 6.0)` virtual QRhiTexture * | rhiTexture() const

Class QSharedDataPointer:

`(since 6.0)` T * | get()
`(since 6.0)` const T * | get() const
`(since 6.0)` void | reset(T *ptr)
`(since 6.0)` T * | take()

Class QShortcut:

`(since 6.0)` QList<QKeySequence> | keys() const
`(since 6.0)` void | setKeys(QKeySequence::StandardKey key)
`(since 6.0)` void | setKeys(const QList<QKeySequence> &keys)

Class QSortFilterProxyModel:

`(since 6.0)` void | autoAcceptChildRowsChanged(bool autoAcceptChildRows)
`(since 6.0)` void | invalidateColumnsFilter()
`(since 6.0)` void | invalidateRowsFilter()

Class QSqlDriver:

`(since 6.0)` virtual int | maximumIdentifierLength(QSqlDriver::IdentifierType type) const

Class QSqlQuery:

`(since 6.0)` QVariantList | boundValues() const

Class QSslConfiguration:

`(since 6.0)` bool | handshakeMustInterruptOnError() const
`(since 6.0)` bool | missingCertificateIsFatal() const
`(since 6.0)` void | setCiphers(const QString &ciphers)
`(since 6.0)` void | setHandshakeMustInterruptOnError(bool interrupt)
`(since 6.0)` void | setMissingCertificateIsFatal(bool cannotRecover)

Class QSslSocket:

`(since 6.0)` void | continueInterruptedHandshake()

Class QStandardItem:

`(since 6.0)` virtual void | multiData(QModelRoleDataSpan roleDataSpan) const

Class QString:

`(since 6.0)` QString & | append(QStringView v)
`(since 6.0)` qsizetype | count(QStringView str, Qt::CaseSensitivity cs) const
`(since 6.0)` QString | first(qsizetype n) &&
`(since 6.0)` QString | first(qsizetype n) const &
`(since 6.0)` QString | fromLatin1(QByteArrayView str)
`(since 6.0)` QString | fromLocal8Bit(QByteArrayView str)
`(since 6.0)` QString | fromUtf8(QByteArrayView str)
`(since 6.0)` QString | fromUtf8(const char8_t *str, qsizetype size)
`(since 6.0)` QString & | insert(qsizetype position, QStringView str)
`(since 6.0)` QString | last(qsizetype n) &&
`(since 6.0)` QString | last(qsizetype n) const &
`(since 6.0)` int | localeAwareCompare(QStringView other) const
`(since 6.0)` int | localeAwareCompare(QStringView s1, QStringView s2)
`(since 6.0)` QString & | operator+=(QStringView str)
`(since 6.0)` QString & | prepend(QStringView str)
`(since 6.0)` QString | sliced(qsizetype pos, qsizetype n) &&
`(since 6.0)` QString | sliced(qsizetype pos, qsizetype n) const &
`(since 6.0)` QString | sliced(qsizetype pos) &&
`(since 6.0)` QString | sliced(qsizetype pos) const &
`(since 6.0)` decltype(qTokenize(std::move(*this), std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) &&
`(since 6.0)` decltype(qTokenize(std::move(*this), std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const &&
`(since 6.0)` decltype(qTokenize(*this, std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const &

Class QStringListModel:

`(since 6.0)` virtual bool | clearItemData(const QModelIndex &index) override

Class QStringTokenizer:

`(since 6.0)` decltype(QtPrivate::Tok::TokenizerResult<Haystack, Needle>{std::forward<Haystack>(h), std::forward<Needle>(n), flags...}) | qTokenize(Haystack &&haystack, Needle &&needle, Flags... flags)

Class QStringView:

`(since 6.0)` QStringView::const_pointer | constData() const
`(since 6.0)` qsizetype | count(QChar ch, Qt::CaseSensitivity cs) const
`(since 6.0)` qsizetype | count(QStringView str, Qt::CaseSensitivity cs) const
`(since 6.0)` QStringView | first(qsizetype n) const
`(since 6.0)` QStringView | last(qsizetype n) const
`(since 6.0)` QStringView | sliced(qsizetype pos, qsizetype n) const
`(since 6.0)` QStringView | sliced(qsizetype pos) const
`(since 6.0)` QList<QStringView> | split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const
`(since 6.0)` QList<QStringView> | split(QStringView sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const
`(since 6.0)` QList<QStringView> | split(const QRegularExpression &re, Qt::SplitBehavior behavior) const
`(since 6.0)` CFStringRef | toCFString() const
`(since 6.0)` double | toDouble(bool *ok) const
`(since 6.0)` float | toFloat(bool *ok) const
`(since 6.0)` int | toInt(bool *ok, int base) const
`(since 6.0)` long | toLong(bool *ok, int base) const
`(since 6.0)` qlonglong | toLongLong(bool *ok, int base) const
`(since 6.0)` NSString * | toNSString() const
`(since 6.0)` short | toShort(bool *ok, int base) const
`(since 6.0)` uint | toUInt(bool *ok, int base) const
`(since 6.0)` ulong | toULong(bool *ok, int base) const
`(since 6.0)` qulonglong | toULongLong(bool *ok, int base) const
`(since 6.0)` ushort | toUShort(bool *ok, int base) const
`(since 6.0)` decltype(qTokenize(*this, std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const

Class QSurfaceFormat:

`(since 6.0)` void | setColorSpace(const QColorSpace &colorSpace)

Class QTextCharFormat:

`(since 6.0)` qreal | baselineOffset() const
`(since 6.0)` void | setBaselineOffset(qreal baseline)
`(since 6.0)` void | setSubScriptBaseline(qreal baseline)
`(since 6.0)` void | setSuperScriptBaseline(qreal baseline)
`(since 6.0)` qreal | subScriptBaseline() const
`(since 6.0)` qreal | superScriptBaseline() const

Class QTextDocument:

`(since 6.0)` qreal | baselineOffset() const
`(since 6.0)` void | setBaselineOffset(qreal baseline)
`(since 6.0)` void | setSubScriptBaseline(qreal baseline)
`(since 6.0)` void | setSuperScriptBaseline(qreal baseline)
`(since 6.0)` qreal | subScriptBaseline() const
`(since 6.0)` qreal | superScriptBaseline() const

Class QThreadPool:

`(since 6.0)` bool | contains(const QThread *thread) const

Class QTime:

`(since 6.0)` QTime | fromString(QStringView string, QStringView format)
`(since 6.0)` QTime | fromString(QStringView string, Qt::DateFormat format)
`(since 6.0)` QTime | fromString(const QString &string, QStringView format)

Class QTypeRevision:

`(since 6.0)` QDataStream & | operator<<(QDataStream &out, const QTypeRevision &revision)
`(since 6.0)` QDataStream & | operator>>(QDataStream &in, QTypeRevision &revision)

Class QUnhandledException:

`(since 6.0)` std::__exception_ptr::exception_ptr | exception() const
`(since 6.0)` void | swap(QUnhandledException &other)

Class QVarLengthArray:

`(since 6.0)` QVarLengthArray<T, Prealloc> & | operator=(QVarLengthArray<T, Prealloc> &&other)

Class QVariant:

`(since 6.0)` bool | canConvert(QMetaType type) const
`(since 6.0)` QPartialOrdering | compare(const QVariant &lhs, const QVariant &rhs)
`(since 6.0)` bool | convert(QMetaType targetType)
`(since 6.0)` QMetaType | metaType() const

Class QWidget:

`(since 6.0)` QPointF | mapFrom(const QWidget *parent, const QPointF &pos) const
`(since 6.0)` QPointF | mapFromGlobal(const QPointF &pos) const
`(since 6.0)` QPointF | mapFromParent(const QPointF &pos) const
`(since 6.0)` QPointF | mapTo(const QWidget *parent, const QPointF &pos) const
`(since 6.0)` QPointF | mapToGlobal(const QPointF &pos) const
`(since 6.0)` QPointF | mapToParent(const QPointF &pos) const

Class QWindow:

`(since 6.0)` QPointF | mapFromGlobal(const QPointF &pos) const
`(since 6.0)` QPointF | mapToGlobal(const QPointF &pos) const
`(since 6.0)` virtual void | paintEvent(QPaintEvent *ev)

### New Functions in Namespaces

`(since 6.0)` void | resetOpenGLState()
`(since 6.0)` QtConcurrent::QTaskBuilder<Task> | task(Task &&task)

### New Global Functions

`(since 6.0)` long double | qDegreesToRadians(long double degrees)
`(since 6.0)` long double | qRadiansToDegrees(long double radians)

### New Macros

`(since 6.0)` | QT_IMPLICIT_QFILEINFO_CONSTRUCTION
`(since 6.0)` | QT_NO_FOREACH
`(since 6.0)` | Q_MOC_INCLUDE
`(since 6.0)` | Q_OBJECT_BINDABLE_PROPERTY(containingClass, type, name, signal)
`(since 6.0)` | Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(containingClass, type, name, initialvalue, signal)
`(since 6.0)` | Q_OBJECT_COMPUTED_PROPERTY(containingClass, type, name, callback)

### New Enum Types

`(since 6.0)` enum | IntermediateError { ResponseCrcError, ResponseRequestMismatch }
`(since 6.0)` enum | WildcardConversionOption { DefaultWildcardConversion, UnanchoredWildcardConversion, NonPathWildcardConversion }
`(since 6.0)` enum class | AlertLevel { Warning, Fatal, Unknown }
`(since 6.0)` enum class | AlertType { CloseNotify, UnexpectedMessage, BadRecordMac, RecordOverflow, DecompressionFailure, …, UnknownAlertMessage }
`(since 6.0)` enum class | Launch { Sync, Async, Inherit }

### New Enum Values

enum value | Country::BosniaAndHerzegovina
enum value | Country::Curacao
enum value | Country::Czechia
enum value | Language::Bangla
enum value | Language::CentralAtlasTamazight
enum value | Language::Inupiaq
enum value | Language::Kalaallisut
enum value | Language::Kuanyama
enum value | Language::Kyrgyz
enum value | Language::Navajo
enum value | Language::NigerianPidgin
enum value | Language::Odia
enum value | Language::Uyghur
enum value | Language::Wolaytta
enum value | Resource::RhiRedirectCommandBuffer
enum value | Resource::RhiRedirectRenderTarget
enum value | Resource::RhiSwapchainResource
enum value | Script::BanglaScript
enum value | Script::MendeScript
enum value | Script::OdiaScript

### New Type Aliases

`(since 6.0)` | iterator
`(since 6.0)` | QPair
`(since 6.0)` | iterator

### New Properties

- `(since 6.0)` sortIndex : const
- `(since 6.0)` readOnly : const
- `(since 6.0)` autoAcceptChildRows :
- `(since 6.0)` additionalShmFormats : const

### New Variables

`(since 6.0)` | MacOSBigSur

### New QML Types

C
  CoreSettings

G
  GeometryView

Q
  QtTextInputMethodManager

### New QML Properties

QML Type FontLoader:

`(since 6.0)` | font : font

QML Type GeometryRenderer:

`(since 6.0)` | sortIndex : real

QML Type Item:

`(since 6.0)` | palette : Palette

QML Type SceneEnvironment:

`(since 6.0)` | tonemapMode : enumeration

QML Type Text:

`(since 6.0)` | renderTypeQuality : int

QML Type WaylandCompositor:

`(since 6.0)` | additionalShmFormats : list<enum>

QML Type Window:

`(since 6.0)` | palette : Palette