Nuevas clases y funciones en Qt 6.6

Esta página contiene una lista completa de todas las nuevas clases y funciones introducidas en Qt 6.6.

Nuevos espacios de nombres

(since 6.6) namespace QWebEngineGlobalSettings

Nuevas clases

A
Any (QtProtobuf)
B
BlockVariable (QShaderDescription)
BuiltinVariable (QShaderDescription)
C
QCapturableWindow
D
DnsMode (QWebEngineGlobalSettings)
G
QGrpcCallOptions
QGrpcChannelOptions
I
Id128Bytes (QUuid)
InOutVariable (QShaderDescription)
N
QNativeIpcKey
QNtfsPermissionCheckGuard
O
QOpcUaConnectionSettings
P
PushConstantBlock (QShaderDescription)
QPdfLinkModel
QPdfPageSelector
Q
QQuick3DExtensionHelpers
R
QRhi
QRhiBuffer
QRhiColorAttachment
QRhiCommandBuffer
QRhiComputePipeline
QRhiD3D11InitParams
QRhiD3D11NativeHandles
QRhiDepthStencilClearValue
QRhiDriverInfo
QRhiGles2InitParams
QRhiGles2NativeHandles
QRhiGraphicsPipeline
QRhiInitParams
QRhiMetalCommandBufferNativeHandles
QRhiMetalInitParams
QRhiMetalNativeHandles
QRhiNativeHandles
QRhiNullInitParams
QRhiNullNativeHandles
QRhiReadbackDescription
QRhiReadbackResult
QRhiRenderBuffer
QRhiRenderPassDescriptor
QRhiRenderTarget
QRhiResource
QRhiResourceUpdateBatch
QRhiSampler
QRhiScissor
QRhiShaderResourceBinding
QRhiShaderResourceBindings
QRhiShaderStage
QRhiStats
QRhiSwapChain
QRhiSwapChainHdrInfo
QRhiSwapChainProxyData
QRhiSwapChainRenderTarget
QRhiTexture
QRhiTextureCopyDescription
QRhiTextureRenderTarget
QRhiTextureRenderTargetDescription
QRhiTextureSubresourceUploadDescription
QRhiTextureUploadDescription
QRhiTextureUploadEntry
QRhiVertexInputAttribute
QRhiVertexInputBinding
QRhiVertexInputLayout
QRhiViewport
QRhiVulkanCommandBufferNativeHandles
QRhiVulkanInitParams
QRhiVulkanNativeHandles
QRhiVulkanRenderPassNativeHandles
S
QScopedPropertyUpdateGroup
QSGD3D12Texture (QNativeInterface)
QShader
QShaderBaker
QShaderCode
QShaderDescription
QShaderKey
QShaderVersion
StencilOpState (QRhiGraphicsPipeline)
StorageBlock (QShaderDescription)
T
TargetBlend (QRhiGraphicsPipeline)
U
UniformBlock (QShaderDescription)
UnixProcessParameters (QProcess)
W
QWindowCapture

Nuevas funciones para miembros

Clase QAbstractOAuthReplyHandler:

(since 6.6) void tokenRequestErrorOccurred(QAbstractOAuth::Error error, const QString &errorString)

Clase ` QBluetoothAddress`:

(since 6.6) size_t qHash(const QBluetoothAddress &key, size_t seed = 0)

Clase ` QBluetoothPermission`:

(since 6.6) QBluetoothPermission::CommunicationModes communicationModes() const
(since 6.6) void setCommunicationModes(QBluetoothPermission::CommunicationModes modes)

Clase ` QBluetoothUuid`:

(since 6.6) QBluetoothUuid fromCBUUID(CBUUID *cbUuid)
(since 6.6) CBUUID *toCBUUID() const

Clase ` QByteArray`:

(since 6.6) QByteArray &assign(QByteArrayView v)
(since 6.6) QByteArray &assign(InputIterator first, InputIterator last)
(since 6.6) QByteArray &assign(qsizetype n, char c)

Clase « QDebug »:

(since 6.6) QDebug &operator<<(std::chrono::duration<Rep, Period> duration)

Clase « QDnsLookup »:

(since 6.6) void setNameserver(const QHostAddress &nameserver, quint16 port)

Clase « QElapsedTimer »:

(since 6.6) QElapsedTimer::Duration durationElapsed() const
(since 6.6) QElapsedTimer::Duration durationTo(const QElapsedTimer &other) const

Clase « QFileInfo »:

(since 6.6) QDateTime birthTime(const QTimeZone &tz) const
(since 6.6) QDateTime fileTime(QFileDevice::FileTime time, const QTimeZone &tz) const
(since 6.6) std::filesystem::path filesystemReadSymLink() const
(since 6.6) QDateTime lastModified(const QTimeZone &tz) const
(since 6.6) QDateTime lastRead(const QTimeZone &tz) const
(since 6.6) QDateTime metadataChangeTime(const QTimeZone &tz) const
(since 6.6) QString readSymLink() const

Clase « QFileSystemModel »:

(since 6.6) QDateTime lastModified(const QModelIndex &index, const QTimeZone &tz) const

Clase « QHostAddress »:

(since 6.6) bool isPrivateUse() const

Clase « QJSPrimitiveValue »:

(since 6.6) const void *constData() const
(since 6.6) void *data()
(since 6.6) const void *data() const
(since 6.6) QMetaType metaType() const
(since 6.6) QJSPrimitiveValue to() const

Clase « QList »:

(since 6.6) QList<T> &assign(std::initializer_list<T> l)
(since 6.6) QList<T> &assign(InputIterator first, InputIterator last)
(since 6.6) QList<T> &assign(qsizetype n, QList<T>::parameter_type t)

Clase « QMessageAuthenticationCode »:

(since 6.6) QMessageAuthenticationCode &operator=(QMessageAuthenticationCode &&other)
(since 6.6) QByteArrayView resultView() const
(since 6.6) void swap(QMessageAuthenticationCode &other)

Clase « QMessageBox »:

(since 6.6) void setOption(QMessageBox::Option option, bool on = true)
(since 6.6) bool testOption(QMessageBox::Option option) const

Clase « QMetaEnum »:

(since 6.6) QMetaType metaType() const

Clase « QMetaProperty »:

(since 6.6) bool write(QObject *object, QVariant &&v) const
(since 6.6) bool writeOnGadget(void *gadget, QVariant &&value) const

Clase « QMetaType »:

(since 6.6) QMetaType underlyingType() const

Clase « QMutex »:

(since 6.6) bool tryLock(QDeadlineTimer timer)

Clase « QSGD3D12Texture »:

(since 6.6) QSGTexture *fromNative(void *texture, int resourceState, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options = {})

Clase « QNtfsPermissionCheckGuard »:

(since 6.6) bool qAreNtfsPermissionChecksEnabled()
(since 6.6) bool qDisableNtfsPermissionChecks()
(since 6.6) bool qEnableNtfsPermissionChecks()

Clase « QObject »:

(since 6.6) bool setProperty(const char *name, QVariant &&value)

Clase QOpcUaClient:

(since 6.6) QOpcUaConnectionSettings connectionSettings() const
(since 6.6) void setConnectionSettings(const QOpcUaConnectionSettings &connectionSettings)

Clase « QPalette »:

(since 6.6) const QBrush &accent() const
(since 6.6) bool operator==(const QPalette &p) const

Clase « QPdfDocument »:

(since 6.6) int pageIndexForLabel(const QString &label)

Clase « Key »:

(since 6.6) size_t qHash(const QPixmapCache::Key &key, size_t seed = 0)

Clase « QPointer »:

(since 6.6) QPointer<T> &operator=(const QPointer<X> &other)

Clase « QProcess »:

(since 6.6) void setUnixProcessParameters(const QProcess::UnixProcessParameters &params)
(since 6.6) void setUnixProcessParameters(QProcess::UnixProcessFlags flagsOnly)
(since 6.6) QProcess::UnixProcessParameters unixProcessParameters() const

Clase « QPromise »:

(since 6.6) bool addResults(const QList<T> &results)
(since 6.6) bool emplaceResult(Args &&... args)
(since 6.6) bool emplaceResultAt(int index, Args &&... args)

Clase « QProtobufMessage »:

(since 6.6) bool setProperty(QAnyStringView propertyName, QVariant &&value)

Clase « QQmlEngine »:


Clase « QQuick3DGeometry »:

(since 6.6) void addTargetAttribute(quint32 targetId, QQuick3DGeometry::Attribute::Semantic semantic, int offset, int stride = 0)
(since 6.6) void addTargetAttribute(const QQuick3DGeometry::TargetAttribute &attribute)
(since 6.6) void setTargetData(const QByteArray &data)
(since 6.6) void setTargetData(int offset, const QByteArray &data)
(since 6.6) QQuick3DGeometry::TargetAttribute targetAttribute(int index) const
(since 6.6) int targetAttributeCount() const
(since 6.6) QByteArray targetData() const

Clase « QQuickGraphicsConfiguration »:

(since 6.6) void setTimestamps(bool enable)
(since 6.6) bool timestampsEnabled() const

Clase « QQuickGraphicsDevice »:

(since 6.6) QQuickGraphicsDevice fromRhi(QRhi *rhi)

Clase QQuickRenderControl:

(since 6.6) QRhiCommandBuffer *commandBuffer() const
(since 6.6) QRhi *rhi() const

Clase « QQuickRenderTarget »:

(since 6.6) QQuickRenderTarget fromD3D12Texture(void *texture, int resourceState, uint format, const QSize &pixelSize, int sampleCount = 1)
(since 6.6) QQuickRenderTarget fromRhiRenderTarget(QRhiRenderTarget *renderTarget)

Clase « QQuickWindow »:

(since 6.6) QSGTexture *createTextureFromRhiTexture(QRhiTexture *texture, QQuickWindow::CreateTextureOptions options = {}) const
(since 6.6) QRhi *rhi() const
(since 6.6) QRhiSwapChain *swapChain() const

Clase « QReadWriteLock »:

(since 6.6) bool tryLockForRead(QDeadlineTimer timeout = {})
(since 6.6) bool tryLockForWrite(QDeadlineTimer timeout = {})

Clase « QRecursiveMutex »:

(since 6.6) bool tryLock(QDeadlineTimer timeout = {})

Clase « QSGRenderNode »:

(since 6.6) QRhiCommandBuffer *commandBuffer() const
(since 6.6) QRhiRenderTarget *renderTarget() const

Clase « QSemaphore »:

(since 6.6) bool tryAcquire(int n, QDeadlineTimer timer)

Clase « QSharedMemory »:

(since 6.6) QNativeIpcKey nativeIpcKey() const
(since 6.6) void setNativeKey(const QNativeIpcKey &key)

Clase QSignalSpy:

(since 6.6) bool wait(std::chrono::milliseconds timeout = std::chrono::seconds{5})

Clase « QSqlField »:

(since 6.6) void swap(QSqlField &other)

Clase QSqlIndex:

(since 6.6) QSqlIndex &operator=(QSqlIndex &&other)

Clase « QSqlQuery »:

(since 6.6) QString boundValueName(int pos) const
(since 6.6) QStringList boundValueNames() const

Clase « QSqlRecord »:

(since 6.6) QSqlRecord &operator=(QSqlRecord &&other)
(since 6.6) void swap(QSqlRecord &other)

Clase « QString »:

(since 6.6) QString &assign(QAnyStringView v)
(since 6.6) QString &assign(InputIterator first, InputIterator last)
(since 6.6) QString &assign(qsizetype n, QChar c)
(since 6.6) QString fromEcmaString(emscripten::val jsString)
(since 6.6) emscripten::val toEcmaString() const

Clase « QStringDecoder »:

(since 6.6) char16_t *appendToBuffer(char16_t *out, QByteArrayView in)

Clase « QTextListFormat »:

(since 6.6) void setStart(int start)
(since 6.6) int start() const

Clase « QTextToSpeech »:

(since 6.6) void aboutToSynthesize(qsizetype id)
(since 6.6) qsizetype enqueue(const QString &utterance)
(since 6.6) QList<QVoice> findVoices(Args &&... args) const
(since 6.6) void sayingWord(const QString &word, qsizetype id, qsizetype start, qsizetype length)
(since 6.6) void synthesize(const QString &text, Functor &&functor)
(since 6.6) void synthesize(const QString &text, const QObject *context, Functor &&functor)

Clase « QThread »:

(since 6.6) void sleep(std::chrono::nanoseconds nsecs)

Clase « QUuid »:

(since 6.6) QUuid fromBytes(const void *bytes, QSysInfo::Endian order = QSysInfo::BigEndian)
(since 6.6) QUuid fromUInt128(quint128 uuid, QSysInfo::Endian order = QSysInfo::BigEndian)
(since 6.6) QUuid::Id128Bytes toBytes(QSysInfo::Endian order = QSysInfo::BigEndian) const
(since 6.6) quint128 toUInt128(QSysInfo::Endian order = QSysInfo::BigEndian) const

Clase « Id128Bytes »:

(since 6.6) QUuid::Id128Bytes qFromBigEndian(QUuid::Id128Bytes src)
(since 6.6) QUuid::Id128Bytes qFromLittleEndian(QUuid::Id128Bytes src)
(since 6.6) QUuid::Id128Bytes qToBigEndian(QUuid::Id128Bytes src)
(since 6.6) QUuid::Id128Bytes qToLittleEndian(QUuid::Id128Bytes src)

Clase « QVarLengthArray »:

(since 6.6) QVarLengthArray<T, Prealloc> &assign(std::initializer_list<T> list)
(since 6.6) QVarLengthArray<T, Prealloc> &assign(InputIterator first, InputIterator last)
(since 6.6) QVarLengthArray<T, Prealloc> &assign(qsizetype n, const T &t)

Clase « QVariant »:

(since 6.6) T &emplace(Args &&... args)
(since 6.6) T &emplace(std::initializer_list<U> list, Args &&... args)
(since 6.6) QVariant fromStdVariant(std::variant<Types...> &&value)
(since 6.6) QVariant fromValue(T &&value)
(since 6.6) T &get(QVariant &v)
(since 6.6) T &&get(QVariant &&v)
(since 6.6) const T &get(const QVariant &v)
(since 6.6) const T &&get(const QVariant &&v)
(since 6.6) T *get_if(QVariant *v)
(since 6.6) const T *get_if(const QVariant *v)

Clase « QWebEnginePage »:

(since 6.6) QString devToolsId() const

Clase « QWebEngineUrlRequestJob »:

(since 6.6) void setAdditionalResponseHeaders(const QMultiMap<QByteArray, QByteArray> &additionalResponseHeaders) const

Clase « QWebSocket »:

(since 6.6) void authenticationRequired(QAuthenticator *authenticator)

Clase « QWidget »:

(since 6.6) void setTabOrder(std::initializer_list<QWidget *> widgets)

Clase QXmlStreamReader:

(since 6.6) bool hasStandaloneDeclaration() const

Nuevas funciones en los espacios de nombres

(since 6.6) QFuture<ValueType> makeReadyRangeFuture(std::initializer_list<ValueType> values)
(since 6.6) QFuture<QtFuture::ContainedType<Container>> makeReadyRangeFuture(Container &&container)
(since 6.6) QFuture<std::decay_t<T>> makeReadyValueFuture(T &&value)
(since 6.6) QFuture<void> makeReadyVoidFuture()

Nuevas funciones globales

(since 6.6) QString qWebEngineGetDomainAndRegistry(const QUrl &url)

Nuevas macros

(since 6.6) QT_NO_QEXCHANGE
(since 6.6) QT_SUPPORTS_INT128
(since 6.6) qint128 Q_INT128_C(literal)
(since 6.6) Q_INT128_MAX
(since 6.6) Q_INT128_MIN
(since 6.6) Q_NODISCARD_CTOR
(since 6.6) quint128 Q_UINT128_C(literal)
(since 6.6) Q_UINT128_MAX

Nuevos tipos de enumeración

(since 6.6) enum CommunicationMode { Access, Advertise, Default }
(since 6.6) enum class ReferenceSurface { Map, Globe }
(since 6.6) enum class Option { DontUseNativeDialog }
(since 6.6) enum class UnixProcessFlag { ResetSignalHandlers, IgnoreSigPipe, CloseFileDescriptors, UseVFork, CreateNewSession, …, DisableCoreDumps }
(since 6.6) enum class Capability { None, Speak, PauseResume, WordByWordProgress, Synthesize }

Nuevos valores de enumeración

Nuevos alias de tipos

(since 6.6) qint128
(since 6.6) quint128

Nuevas propiedades

Nuevas variables

(since 6.6) const QOperatingSystemVersionBase Windows11_23H2

Nuevos tipos de QML

Nuevas propiedades de QML

Tipo QML CaptureSession:

(since 6.6) windowCapture : WindowCapture

Tipo QML CharacterController:

(since 6.6) enableShapeHitCallback : bool

Tipo QML ColorGroup:

(since 6.6) accent : color

Tipo QML Dial:

(since 6.6) endAngle : real
(since 6.6) startAngle : real

Tipo QML MediaRecorder:

(since 6.6) audioBitRate : int
(since 6.6) audioChannelCount : int
(since 6.6) audioSampleRate : int
(since 6.6) encodingMode : enumeration
(since 6.6) videoBitRate : int
(since 6.6) videoFrameRate : real
(since 6.6) videoResolution : Size

Tipo QML Path:

(since 6.6) simplify : bool

Tipo QML ` PathText`:

(since 6.6) font.features : object

Tipo QML RenderStats:

(since 6.6) lastCompletedGpuTime : real

Tipo QML ScrollView:

(since 6.6) effectiveScrollBarHeight : real
(since 6.6) effectiveScrollBarWidth : real

Tipo QML Shape:

(since 6.6) boundingRect : rect
(since 6.6) preferredRendererType : enumeration

Tipo QML SpinBox:

(since 6.6) live : bool

Tipo QML TableView:

(since 6.6) selectionMode : enumeration

Tipo QML Text:

(since 6.6) font.features : object

Tipo QML TextEdit:

(since 6.6) font.features : object

Tipo QML « TextInput »:

(since 6.6) font.features : object

Tipo QML « TextToSpeech »:

(since 6.6) engineCapabilities : enumeration

Tipo QML TreeView:

(since 6.6) rootIndex : QModelIndex

Tipo QML VirtualKeyboardSettings:

(since 6.6) visibleFunctionKeys : enumeration

Tipo QML « font »:

(since 6.6) features : object

Tipo QML voice:

(since 6.6) language : enumerator

Nuevas señales de QML

(since 6.6) aboutToSynthesize(number id)
(since 6.6) sayingWord(string word, int id, int start, int length)
(since 6.6) shapeHit(PhysicsNode *body, vector3D position, vector3D impulse, vector3D normal)
(since 6.6) wrapped(Dial.WrapDirection direction)

Nuevos métodos QML

Tipo QML TextToSpeech:

(since 6.6) int enqueue(string utterance)
(since 6.6) list<voice> findVoices(map criteria)

© 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.