New Classes and Functions in Qt 6.12

This page contains a comprehensive list of all new classes and functions introduced in Qt 6.12.

New Classes

New Member Functions

Class QHostInfo:

(since 6.12) void clearCache()

Class QHttpHeaders:

(since 6.12) QDataStream &operator<<(QDataStream &out, const QHttpHeaders &headers)
(since 6.12) QDataStream &operator>>(QDataStream &in, QHttpHeaders &headers)
(since 6.12) QList<std::pair<qint64, qint64>> rangeValue(bool *ok = nullptr) const
(since 6.12) void setRangeValue(const QList<std::pair<qint64, qint64>> &ranges)

Class QHttpServerConfiguration:

(since 6.12) quint32 maximumConnectionsPerHost() const
(since 6.12) void setMaximumConnectionsPerHost(quint32 maxConnections)

Class QQmlEngine:

(since 6.12) bool setExternalSingletonInstance(QAnyStringView moduleName, QAnyStringView typeName, QObject *instance)

Class QSslConfiguration:

(since 6.12) QList<QSslKeyingMaterial> keyingMaterial() const
(since 6.12) std::optional<QSslKeyingMaterial> keyingMaterial(const QSslKeyingMaterial &material) const
(since 6.12) void setKeyingMaterial(const QList<QSslKeyingMaterial> &keyMaterial)

Class QVarLengthArray:

(since 6.12) void removeAt(qsizetype i)

Class QWindow:

(since 6.12) void setFramePosition(int x, int y)

New Enum Types

(since 6.12) enum class Status { Null, Searching, Finished }
(since 6.12) enum class MotionPreference { NoPreference, ReducedMotion }

New Enum Values

New Properties

New QML Types

New QML Properties

QML Type DateTimeAxis:

(since 6.12) tickCount : real

QML Type ExtendedSceneEnvironment:

(since 6.12) ssrMaxSteps : int
(since 6.12) ssrThickness : real

QML Type GraphsItem3D:

(since 6.12) panEnabled : bool
(since 6.12) panModeEnabled : bool

QML Type PieSeries:

(since 6.12) sliceData : list<real>
(since 6.12) sliceLabels : list<string>

QML Type SearchField:

(since 6.12) placeholderText : string

QML Type ShapePath:

(since 6.12) strokeGradient : ShapeGradient

QML Type ToolTip:

(since 6.12) policy : enumeration

New QML Signals

(since 6.12) sliceDataChanged(list<real> sliceData)
(since 6.12) sliceLabelsChanged(list<string> sliceLabels)
(since 6.12) tickCountChanged(real count)

New QML Methods

QML Type GraphsItem3D:

(since 6.12) void setPanButton(Qt::MouseButtons button)

QML Type SearchField:

(since 6.12) void selectAll()

QML Type TreeModel:

(since 6.12) void insertRow(int rowIndex, object row)
(since 6.12) void insertRow(int rowIndex, QModelIndex parent, object row)

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.