- Qt 6.11
- New Classes and Functions in Qt 6.11
- Qt 6.11.0 Reference Documentation

# New Classes and Functions in Qt 6.11

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

- New Namespaces
- New Classes
- New Member Functions
- New Functions in Namespaces
- New Global Functions
- New Macros
- New Enum Types
- New Enum Values
- New Properties
- New Variables
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods

### New Namespaces

`(since 6.11)` namespace | QtTaskTree

### New Classes

A
  Axes (QQuaternion)
  QAbstractTaskTreeRunner

B
  QBarrier

C
  ConstIterator: QtCore (QMetaAssociation::Iterable)
  ConstIterator: QtCore (QMetaSequence::Iterable)
  ConstPointer (QVariant)
  ConstReference (QVariant)
  QCocoaScreen (QNativeInterface)
  QConcurrentCall
  QConcurrentCallBase
  QCustomSeries
  QCustomTask

D
  Do (QtTaskTree)
  QDefaultTaskAdapter

E
  Else (QtTaskTree)
  ElseIf (QtTaskTree)
  EulerAngles (QQuaternion)
  ExecutableItem (QtTaskTree)
  ExecutionMode (QtTaskTree)

F
  FinalizeResultChar (QStringConverter)
  For (QtTaskTree)
  Forever (QtTaskTree)
  ForeverIterator (QtTaskTree)

G
  Group (QtTaskTree)
  GroupItem (QtTaskTree)

I
  If (QtTaskTree)
  ItemAccess (QRangeModel)
  Iterable: QtCore (QMetaSequence)
  Iterable: QtCore (QMetaAssociation)
  Iterator: QtTaskTree (QtTaskTree)
  Iterator: QtCore (QMetaAssociation::Iterable)
  Iterator: QtCore (QMetaSequence::Iterable)

L
  ListIterator (QtTaskTree)

M
  QMappedTaskTreeRunner

N
  QNetworkReplyWrapper

P
  ParallelLimit (QtTaskTree)
  Pointer (QVariant)
  QParallelTaskTreeRunner
  QProcessDeleter

Q
  QQuick3DTextureProviderExtension

R
  QRangeModelAdapter
  Reference (QVariant)
  RepeatIterator (QtTaskTree)
  RpcDescriptor (QtGrpc)

S
  QSequentialTaskTreeRunner
  QSingleTaskTreeRunner
  QSSGRenderTextureProviderExtension
  QStartedBarrier
  QSyncTask
  Storage (QtTaskTree)

T
  QTaskInterface
  QTaskTree
  QTcpSocketWrapper
  Then (QtTaskTree)

U
  UntilIterator (QtTaskTree)

W
  When (QtTaskTree)

### New Member Functions

Class QAudioSink:

`(since 6.11)` void | start(Callback &&cb)

Class QAudioSource:

`(since 6.11)` void | start(Callback &&cb)

Class QAuthenticator:

`(since 6.11)` void | clear()

Class QByteArray:

`(since 6.11)` QByteArray | fromPercentEncoding(QByteArray &&input, char percent = '%')
`(since 6.11)` QByteArray | percentDecoded(char percent = '%') &&

Class QDate:

`(since 6.11)` QDate & | operator++(QDate &date)
`(since 6.11)` QDate | operator++(QDate &date, int)
`(since 6.11)` QDate & | operator--(QDate &date)
`(since 6.11)` QDate | operator--(QDate &date, int)

Class QGrpcCallOptions:

`(since 6.11)` std::optional<bool> | filterServerMetadata() const
`(since 6.11)` QGrpcCallOptions & | setFilterServerMetadata(bool value)

Class QGrpcChannelOptions:

`(since 6.11)` std::optional<bool> | filterServerMetadata() const
`(since 6.11)` QGrpcChannelOptions & | setFilterServerMetadata(bool value)

Class QGrpcOperation:

`(since 6.11)` void | serverInitialMetadataReceived()

Class QHttpServerConfiguration:

`(since 6.11)` qint64 | maxBodySize() const
`(since 6.11)` qint64 | maxHeaderFieldSize() const
`(since 6.11)` qint64 | maxNumberOfHeaderFields() const
`(since 6.11)` qint64 | maxTotalHeaderSize() const
`(since 6.11)` qint64 | maxUrlSize() const
`(since 6.11)` void | setMaxBodySize(qint64 maxSize)
`(since 6.11)` void | setMaxHeaderFieldSize(qint64 maxSize)
`(since 6.11)` void | setMaxNumberOfHeaderFields(qint64 maxSize)
`(since 6.11)` void | setMaxTotalHeaderSize(qint64 maxSize)
`(since 6.11)` void | setMaxUrlSize(qint64 maxSize)

Class QHttpServerResponder:

`(since 6.11)` bool | isResponseCanceled()

Class QMetaObject:

`(since 6.11)` const char * | metaObjectHash() const

Class QMetaProperty:

`(since 6.11)` bool | isOverride() const
`(since 6.11)` bool | isVirtual() const

Class QNetworkRequest:

`(since 6.11)` void | setTcpKeepAliveIdleTimeBeforeProbes(std::chrono::seconds idle)
`(since 6.11)` void | setTcpKeepAliveIntervalBetweenProbes(std::chrono::seconds interval)
`(since 6.11)` void | setTcpKeepAliveProbeCount(int probes)
`(since 6.11)` std::chrono::seconds | tcpKeepAliveIdleTimeBeforeProbes() const
`(since 6.11)` std::chrono::seconds | tcpKeepAliveIntervalBetweenProbes() const
`(since 6.11)` int | tcpKeepAliveProbeCount() const

Class QObject:

`(since 6.11)` bool | isQmlObjectType() const

Class QPainter:

`(since 6.11)` QPointF | brushOriginF() const
`(since 6.11)` void | setBrush(QBrush &&brush)
`(since 6.11)` void | setPen(QPen &&pen)

Class QProtobufMessage:

`(since 6.11)` To | qprotobufmessage_cast(QProtobufMessage *from)
`(since 6.11)` To | qprotobufmessage_cast(const QProtobufMessage *from)

Class QQmlContext:

`(since 6.11)` QList<QQmlContext *> | childContexts() const
`(since 6.11)` QObject * | findObjectRecursively(const QString &id) const
`(since 6.11)` QList<QObject *> | findObjectsRecursively(const QString &id) const

Class QQuaternion:

`(since 6.11)` QQuaternion::EulerAngles<float> | eulerAngles() const
`(since 6.11)` QQuaternion | fromAxes(QQuaternion::Axes axes)
`(since 6.11)` QQuaternion | fromEulerAngles(QQuaternion::EulerAngles<float> angles)
`(since 6.11)` QQuaternion::Axes | toAxes() const

Class QQuickWindow:

`(since 6.11)` void | devicePixelRatioChanged()

Class QRawFont:

`(since 6.11)` quint32 | glyphCount() const
`(since 6.11)` QString | glyphName(quint32 glyphIndex) const

Class QRhiGraphicsPipeline:

`(since 6.11)` bool | hasDepthClamp() const
`(since 6.11)` void | setDepthClamp(bool enable)

Class QSaveFile:

`(since 6.11)` std::filesystem::path | filesystemFileName() const
`(since 6.11)` void | setFileName(const std::filesystem::path &name)

Class QScopeGuard:

`(since 6.11)` void | commit()

Class QStack:

`(since 6.11)` void | push(T &&t)

Class QStringDecoder:

`(since 6.11)` QStringDecoder::FinalizeResult | finalize()
`(since 6.11)` QStringDecoder::FinalizeResultQChar | finalize(QChar *out, qsizetype maxlen)
`(since 6.11)` QStringDecoder::FinalizeResult | finalize(char16_t *out, qsizetype maxlen)

Class QStringEncoder:

`(since 6.11)` QStringEncoder::FinalizeResult | finalize()
`(since 6.11)` QStringEncoder::FinalizeResult | finalize(char *out, qsizetype maxlen)

Class QSurfaceFormat:

`(since 6.11)` QSurfaceFormat::ColorComponentType | colorComponentType() const
`(since 6.11)` void | setColorComponentType(QSurfaceFormat::ColorComponentType type)

Class QTemporaryFile:

`(since 6.11)` bool | renameOverwrite(const QString &newName)
`(since 6.11)` bool | renameOverwrite(const std::filesystem::path &newName)

Class QTextBoundaryFinder:

`(since 6.11)` QTextBoundaryFinder & | operator=(QTextBoundaryFinder &&other)
`(since 6.11)` void | swap(QTextBoundaryFinder &other)

Class QTextCharFormat:

`(since 6.11)` QHash<QFont::Tag, quint32> | fontFeatures() const
`(since 6.11)` QHash<QFont::Tag, float> | fontVariableAxes() const
`(since 6.11)` void | setFontFeatures(const QHash<QFont::Tag, quint32> &fontFeatures)
`(since 6.11)` void | setFontVariableAxes(const QHash<QFont::Tag, float> &fontVariableAxes)

Class QWebSocketServer:

`(since 6.11)` void | sslErrorsOccurred(QSslSocket *socket, const QList<QSslError> &errors)

Class qfloat16:

`(since 6.11)` bool | signBit() const

### New Functions in Namespaces

`(since 6.11)` const char * | currentGlobalDataTag()

### New Global Functions

`(since 6.11)` QString | qTrId(const char *id, int n = -1)

### New Macros

`(since 6.11)` | QT_NO_SINGLE_ARGUMENT_QHASH_OVERLOAD
`(since 6.11)` void | Q_PRESUME(bool expr)

### New Enum Types

`(since 6.11)` enum class | LabelPosition { Center, OnValue }
`(since 6.11)` enum class | LineStyle { Straight, StepLeft, StepRight, StepCenter }
`(since 6.11)` enum class | StrokeStyle { SolidLine, DashLine }
`(since 6.11)` enum class | AutoConnectPolicy { None, Full, OnRead }
`(since 6.11)` enum | ColorComponentType { FixedColorComponentType, FloatColorComponentType }
`(since 6.11)` enum class | RpcType { UnaryCall, ServerStreaming, ClientStreaming, BidiStreaming }

### New Enum Values

enum value | Attribute::Orientation
enum value | Event::RoleChanged
enum value | Language::Ladin
enum value | Language::Shan
enum value | Role::Switch
enum value | ScopeType::BindingFunctionScope
enum value | ScopeType::SignalHandlerFunctionScope
enum value | WebAttribute::TrimAccessibilityIdentifiers

### New Properties

`(since 6.11)` cutoffMargin : qreal `(since 6.11)` keyboardSearchFlags : Qt::MatchFlags `(since 6.11)` gradient : QQuickShapeGradient* `(since 6.11)` selectedGradient : QQuickShapeGradient* `(since 6.11)` columnAxis : QCategory3DAxis* `(since 6.11)` customColumnLabels : QStringList `(since 6.11)` customRowLabels : QStringList `(since 6.11)` rowAxis : QCategory3DAxis* `(since 6.11)` valueAxis : QValue3DAxis* `(since 6.11)` labelPosition : LabelPosition `(since 6.11)` bindInterface : QNetworkInterface `(since 6.11)` previewColumnVisible : bool `(since 6.11)` rotationAbsolute : bool `(since 6.11)` pan : qreal `(since 6.11)` timeZone : QString `(since 6.11)` visualMax : QDateTime `(since 6.11)` visualMin : QDateTime | `(since 6.11)` zoom : qreal `(since 6.11)` dashOffset : qreal `(since 6.11)` dashPattern : QVector<qreal> `(since 6.11)` joinStyle : Qt::PenJoinStyle `(since 6.11)` lineStyle : QLineSeries::LineStyle `(since 6.11)` strokeStyle : QLineSeries::StrokeStyle `(since 6.11)` samplerHint : SamplerHint `(since 6.11)` devicePixelRatio : qreal `(since 6.11)` autoConnectPolicy : AutoConnectPolicy `(since 6.11)` axisX : QValue3DAxis* `(since 6.11)` axisY : QValue3DAxis* `(since 6.11)` axisZ : QValue3DAxis* `(since 6.11)` axisX : QValue3DAxis* `(since 6.11)` axisY : QValue3DAxis* `(since 6.11)` axisZ : QValue3DAxis* `(since 6.11)` visualMax : qreal `(since 6.11)` visualMin : qreal

### New Variables

`(since 6.11)` std::atomic<std::chrono::milliseconds> | defaultTryTimeout

### New QML Types

C
  ContentLayer
  CustomSeries

D
  DepthStencilAttachment
  DoubleSpinBox

E
  Easing
  easingCurve

I
  ItemSpy

P
  ParticleSceneShape3D
  PathInterpolated

R
  RenderPass
  renderTargetBlend

T
  TextureProviderExtension

### New QML Properties

QML Type AreaSeries:

`(since 6.11)` | gradient : ShapeGradient
`(since 6.11)` | selectedGradient : ShapeGradient

QML Type AudioEngine:

`(since 6.11)` | distanceScale : real

QML Type BarCategoryAxis:

`(since 6.11)` | labelPosition : enumeration

QML Type Custom3DItem:

`(since 6.11)` | rotationAbsolute : bool

QML Type DateTimeAxis:

`(since 6.11)` | pan : real
`(since 6.11)` | timeZone : string
`(since 6.11)` | visualMax : real
`(since 6.11)` | visualMin : real
`(since 6.11)` | zoom : real

QML Type DialogButtonBox:

`(since 6.11)` | defaultButton : AbstractButton
`(since 6.11)` | defaultStandardButton : enumeration

QML Type ExtendedSceneEnvironment:

`(since 6.11)` | ssgiBufferSizeFactor : real
`(since 6.11)` | ssgiEnabled : bool
`(since 6.11)` | ssgiHitThickness : real
`(since 6.11)` | ssgiIndirectLightBoost : real
`(since 6.11)` | ssgiIndirectLightEnabled : bool
`(since 6.11)` | ssgiSampleCount : int
`(since 6.11)` | ssgiSampleRadius : real
`(since 6.11)` | ssgiSimulatedBounceEnabled : bool
`(since 6.11)` | ssgiSimulatedBounceFactor : real
`(since 6.11)` | ssgiSliceCount : int
`(since 6.11)` | ssrEnabled : bool

QML Type GraphsItem3D:

`(since 6.11)` | cutoffMargin : real

QML Type LineSeries:

`(since 6.11)` | dashOffset : real
`(since 6.11)` | dashPattern : list<real>
`(since 6.11)` | joinStyle : Qt::PenJoinStyle
`(since 6.11)` | lineStyle : QLineSeries::LineStyle
`(since 6.11)` | strokeStyle : enumeration

QML Type Model:

`(since 6.11)` | motionVectorEnabled : bool
`(since 6.11)` | motionVectorScale : real

QML Type RectangularShadow:

`(since 6.11)` | bottomLeftRadius : real
`(since 6.11)` | bottomRightRadius : real
`(since 6.11)` | topLeftRadius : real
`(since 6.11)` | topRightRadius : real

QML Type Rotation:

`(since 6.11)` | distanceToPlane : real

QML Type SceneEnvironment:

`(since 6.11)` | temporalAAMode : enumeration

QML Type ShapePath:

`(since 6.11)` | cosmeticStroke : real

QML Type SplineSeries:

`(since 6.11)` | optimized : bool

QML Type TextSelection:

`(since 6.11)` | document : TextDocument
`(since 6.11)` | selectionEnd : int
`(since 6.11)` | selectionStart : int

QML Type ValueAxis:

`(since 6.11)` | visualMax : real
`(since 6.11)` | visualMin : real

QML Type sslConfiguration:

`(since 6.11)` | sslOptionFlags : QSsl::SslOptions

QML Type sslDtlsConfiguration:

`(since 6.11)` | sslOptionFlags : QSsl::SslOptions

### New QML Signals

`(since 6.11)` | dashOffsetChanged(qreal newDashOffset)
`(since 6.11)` | dashPatternChanged(QVector<qreal> newDashPattern)
`(since 6.11)` | gradientChanged()
`(since 6.11)` | joinStyleChanged(Qt::PenJoinStyle newJoinStyle)
`(since 6.11)` | lineStyleChanged(QLineSeries::LineStyle newLineStyle)
`(since 6.11)` | optimizedChanged()
`(since 6.11)` | selectedGradientChanged()
`(since 6.11)` | strokeStyleChanged(QLineSeries::StrokeStyle newStrokeStyle)
`(since 6.11)` | timeZoneChanged()
`(since 6.11)` | zoomChanged()

### New QML Methods

QML Type Flickable:

`(since 6.11)` | flickTo(point position)
`(since 6.11)` | flickToChild(QQuickItem *child, PositionMode mode, point offset)
`(since 6.11)` | positionViewAtChild(QQuickItem *child, PositionMode mode, point offset)

QML Type Qt:

`(since 6.11)` ArrayBuffer | atob(ArrayBuffer data)
`(since 6.11)` var | atob(var data)
`(since 6.11)` ArrayBuffer | btoa(ArrayBuffer data)
`(since 6.11)` var | btoa(var data)

QML Type TextSelection:

`(since 6.11)` void | duplicate()
`(since 6.11)` void | linkTo(url destination)
`(since 6.11)` void | moveSelectionEnd(MoveOperation op, int n)
`(since 6.11)` bool | moveSelectionStart(MoveOperation op, int n)

QML Type View3D:

`(since 6.11)` pickResult | closestPointPick(vector3d origin, float radius, Model model)
`(since 6.11)` pickResult | rayPick(vector3d origin, vector3d direction, Model model)

QML Type XrView:

`(since 6.11)` pickResult | closestPointPick(vector3d origin, float radius, Model model)
`(since 6.11)` pickResult | rayPick(vector3d origin, vector3d direction, Model model)