New Classes and Functions in Qt 6.6
This page contains a comprehensive list of all new classes and functions introduced in Qt 6.6.
- 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 QML Types
- New QML Properties
- New QML Signals
- New QML Methods
New Namespaces
| namespace | QWebEngineGlobalSettings |
New Classes
- A
- Any (QtProtobuf)
- 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
New Member Functions
Class QAbstractOAuthReplyHandler:
| void | tokenRequestErrorOccurred(QAbstractOAuth::Error error, const QString &errorString) |
Class QBluetoothPermission:
| QBluetoothPermission::CommunicationModes | communicationModes() const |
| void | setCommunicationModes(QBluetoothPermission::CommunicationModes modes) |
Class QBluetoothUuid:
| QBluetoothUuid | fromCBUUID(CBUUID *cbUuid) |
| CBUUID * | toCBUUID() const |
Class QByteArray:
| QByteArray & | assign(QByteArrayView v) |
| QByteArray & | assign(qsizetype n, char c) |
| QByteArray & | assign(InputIterator first, InputIterator last) |
Class QDebug:
| QDebug & | operator<<(std::chrono::duration<Rep, Period> duration) |
Class QDnsLookup:
| void | setNameserver(const QHostAddress &nameserver, quint16 port) |
Class QElapsedTimer:
| QElapsedTimer::Duration | durationElapsed() const |
| QElapsedTimer::Duration | durationTo(const QElapsedTimer &other) const |
Class QFileInfo:
| QDateTime | birthTime(const QTimeZone &tz) const |
| QDateTime | fileTime(QFile::FileTime time, const QTimeZone &tz) const |
| std::filesystem::path | filesystemReadSymLink() const |
| QDateTime | lastModified(const QTimeZone &tz) const |
| QDateTime | lastRead(const QTimeZone &tz) const |
| QDateTime | metadataChangeTime(const QTimeZone &tz) const |
| QString | readSymLink() const |
Class QFileSystemModel:
| QDateTime | lastModified(const QModelIndex &index, const QTimeZone &tz) const |
Class QFont:
(preliminary) void | clearFeatures() |
(preliminary) QList<quint32> | featureTags() const |
(preliminary) quint32 | featureValue(quint32 tag) const |
(preliminary) bool | isFeatureSet(quint32 tag) const |
(preliminary) void | setFeature(const char *feature, quint32 value) |
(preliminary) void | setFeature(quint32 tag, quint32 value) |
(preliminary) quint32 | stringToTag(const char *name) |
(preliminary) QByteArray | tagToString(quint32 tag) |
(preliminary) void | unsetFeature(quint32 tag) |
(preliminary) void | unsetFeature(const char *feature) |
Class QHostAddress:
| bool | isPrivateUse() const |
Class QJSPrimitiveValue:
Class QList:
| QList<T> & | assign(qsizetype n, QList::parameter_type t) |
| QList<T> & | assign(InputIterator first, InputIterator last) |
| QList<T> & | assign(std::initializer_list<T> l) |
Class QMessageAuthenticationCode:
| QMessageAuthenticationCode & | operator=(QMessageAuthenticationCode &&other) |
| QByteArrayView | resultView() const |
| void | swap(QMessageAuthenticationCode &other) |
Class QMessageBox:
| void | setOption(QMessageBox::Option option, bool on) |
| bool | testOption(QMessageBox::Option option) const |
Class QMetaEnum:
| QMetaType | metaType() const |
Class QMetaProperty:
| bool | write(QObject *object, QVariant &&v) const |
| bool | writeOnGadget(void *gadget, QVariant &&value) const |
Class QMetaType:
| QMetaType | underlyingType() const |
Class QMutex:
| bool | tryLock(QDeadlineTimer timer) |
Class QSGD3D12Texture:
| QSGTexture * | fromNative(void *texture, int resourceState, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options) |
Class QObject:
| bool | setProperty(const char *name, QVariant &&value) |
Class QOpcUaClient:
| QOpcUaConnectionSettings | connectionSettings() const |
| void | setConnectionSettings(const QOpcUaConnectionSettings &connectionSettings) |
Class QPalette:
| const QBrush & | accent() const |
| bool | operator==(const QPalette &p) const |
Class QPdfDocument:
| int | pageIndexForLabel(const QString &label) |
Class QPointer:
| QPointer<T> & | operator=(const QPointer<X> &other) |
Class QProcess:
| void | setUnixProcessParameters(const QProcess::UnixProcessParameters ¶ms) |
| void | setUnixProcessParameters(QProcess::UnixProcessFlags flagsOnly) |
| QProcess::UnixProcessParameters | unixProcessParameters() const |
Class QPromise:
| bool | addResults(const QList<T> &results) |
Class QProtobufMessage:
| bool | setProperty(QAnyStringView propertyName, QVariant &&value) |
Class QQmlEngine:
Class QQuick3DGeometry:
| void | addTargetAttribute(quint32 targetId, Attribute::Semantic semantic, int offset, int stride) |
| void | addTargetAttribute(const QQuick3DGeometry::TargetAttribute &attribute) |
| void | setTargetData(const QByteArray &data) |
| void | setTargetData(int offset, const QByteArray &data) |
| QQuick3DGeometry::TargetAttribute | targetAttribute(int index) const |
| int | targetAttributeCount() const |
| QByteArray | targetData() const |
Class QQuickGraphicsConfiguration:
| void | setTimestamps(bool enable) |
| bool | timestampsEnabled() const |
Class QQuickGraphicsDevice:
| QQuickGraphicsDevice | fromRhi(QRhi *rhi) |
Class QQuickRenderControl:
| QRhiCommandBuffer * | commandBuffer() const |
| QRhi * | rhi() const |
Class QQuickRenderTarget:
| QQuickRenderTarget | fromD3D12Texture(void *texture, int resourceState, uint format, const QSize &pixelSize, int sampleCount) |
| QQuickRenderTarget | fromRhiRenderTarget(QRhiRenderTarget *renderTarget) |
Class QQuickWindow:
| QSGTexture * | createTextureFromRhiTexture(QRhiTexture *texture, QQuickWindow::CreateTextureOptions options) const |
| QRhi * | rhi() const |
| QRhiSwapChain * | swapChain() const |
Class QReadWriteLock:
| bool | tryLockForRead(QDeadlineTimer timeout) |
| bool | tryLockForWrite(QDeadlineTimer timeout) |
Class QRecursiveMutex:
| bool | tryLock(QDeadlineTimer timeout) |
Class QSGRenderNode:
| QRhiCommandBuffer * | commandBuffer() const |
| QRhiRenderTarget * | renderTarget() const |
Class QSemaphore:
| bool | tryAcquire(int n, QDeadlineTimer timer) |
Class QSharedMemory:
| QNativeIpcKey | nativeIpcKey() const |
| void | setNativeKey(const QNativeIpcKey &key) |
Class QSignalSpy:
| bool | wait(std::chrono::milliseconds timeout) |
Class QSqlField:
| void | swap(QSqlField &other) |
Class QSqlIndex:
| QSqlIndex & | operator=(QSqlIndex &&other) |
Class QSqlQuery:
| QString | boundValueName(int pos) const |
| QStringList | boundValueNames() const |
Class QSqlRecord:
Class QString:
| QString & | assign(QAnyStringView v) |
| QString & | assign(qsizetype n, QChar c) |
| QString & | assign(InputIterator first, InputIterator last) |
| QString | fromEcmaString(emscripten::val jsString) |
| emscripten::val | toEcmaString() const |
Class QStringDecoder:
| char16_t * | appendToBuffer(char16_t *out, QByteArrayView in) |
Class QTextListFormat:
Class QTextToSpeech:
| void | aboutToSynthesize(qsizetype id) |
| qsizetype | enqueue(const QString &utterance) |
| QList<QVoice> | findVoices(Args &&... args) const |
| void | sayingWord(const QString &word, qsizetype id, qsizetype start, qsizetype length) |
Class QThread:
| void | sleep(std::chrono::nanoseconds nsecs) |
Class QUuid:
| QUuid | fromBytes(const void *bytes, QSysInfo::Endian order) |
| QUuid | fromUInt128(quint128 uuid, QSysInfo::Endian order) |
| QUuid::Id128Bytes | toBytes(QSysInfo::Endian order) const |
| quint128 | toUInt128(QSysInfo::Endian order) const |
Class Id128Bytes:
| QUuid::Id128Bytes | qFromBigEndian(QUuid::Id128Bytes src) |
| QUuid::Id128Bytes | qFromLittleEndian(QUuid::Id128Bytes src) |
| QUuid::Id128Bytes | qToBigEndian(QUuid::Id128Bytes src) |
| QUuid::Id128Bytes | qToLittleEndian(QUuid::Id128Bytes src) |
Class QVarLengthArray:
| QVarLengthArray<T, Prealloc> & | assign(qsizetype n, const T &t) |
| QVarLengthArray<T, Prealloc> & | assign(InputIterator first, InputIterator last) |
| QVarLengthArray<T, Prealloc> & | assign(std::initializer_list<T> list) |
Class QVariant:
| T & | emplace(Args &&... args) |
| T & | emplace(std::initializer_list<U> list, Args &&... args) |
| QVariant | fromStdVariant(std::variant<Types...> &&value) |
| QVariant | fromValue(T &&value) |
Class QWebEnginePage:
| QString | devToolsId() const |
Class QWebEngineUrlRequestJob:
| void | setAdditionalResponseHeaders(const QMultiMap<QByteArray, QByteArray> &additionalResponseHeaders) const |
Class QWebSocket:
| void | authenticationRequired(QAuthenticator *authenticator) |
Class QWidget:
| void | setTabOrder(std::initializer_list<QWidget *> widgets) |
Class QXmlStreamReader:
| bool | hasStandaloneDeclaration() const |
New Functions in Namespaces
| QFuture<ValueType> | makeReadyRangeFuture(std::initializer_list<ValueType> values) |
| QFuture<ContainedType<Container>> | makeReadyRangeFuture(Container &&container) |
| QFuture<std::decay_t<T>> | makeReadyValueFuture(T &&value) |
| QFuture<void> | makeReadyVoidFuture() |
New Global Functions
| QString | qWebEngineGetDomainAndRegistry(const QUrl &url) |
New Macros
| QT_SUPPORTS_INT128 | |
| qint128 | Q_INT128_C(literal) |
| Q_INT128_MAX | |
| Q_INT128_MIN | |
| Q_NODISCARD_CTOR | |
| quint128 | Q_UINT128_C(literal) |
| Q_UINT128_MAX |
New Enum Types
| enum | CommunicationMode { Access, Advertise, Default } |
| enum class | ReferenceSurface { Map, Globe } |
| enum class | Option { DontUseNativeDialog } |
| enum class | UnixProcessFlag { ResetSignalHandlers, IgnoreSigPipe, CloseFileDescriptors, UseVFork } |
| enum class | Capability { None, Speak, PauseResume, WordByWordProgress, Synthesize } |
New Enum Values
| enum value | BoundaryHint::Utterance |
| enum value | ColorRole::Accent |
| enum value | Flag::FetchApiAllowed |
| enum value | GraphicsApi::Direct3D12 |
| enum value | Language::Baluchi |
| enum value | Language::Ligurian |
| enum value | Language::Rohingya |
| enum value | Language::Torwali |
| enum value | Property::ListStart |
| enum value | RelationFlag::Described |
| enum value | RelationFlag::DescriptionFor |
| enum value | RelationFlag::FlowsFrom |
| enum value | RelationFlag::FlowsTo |
| enum value | Resource::GraphicsQueueFamilyIndexResource |
| enum value | Resource::GraphicsQueueIndexResource |
| enum value | Script::HanifiScript |
| enum value | TabPosition::Moving |
| enum value | Type::DevicePixelRatioChange |
| enum value | WebAction::ChangeTextDirectionLTR |
| enum value | WebAction::ChangeTextDirectionRTL |
| enum value | WildcardConversionOption::NonPathWildcardConversion |
New Type Aliases
New Properties
|
|
New QML Types
New QML Properties
QML Type CaptureSession:
| windowCapture : WindowCapture |
QML Type CharacterController:
| enableShapeHitCallback : bool |
QML Type ColorGroup:
| accent : color |
QML Type Dial:
| endAngle : real | |
| startAngle : real |
QML Type MediaRecorder:
| audioBitRate : int | |
| audioChannelCount : int | |
| audioSampleRate : int | |
| encodingMode : enumeration | |
| videoBitRate : int | |
| videoFrameRate : real | |
| videoResolution : Size |
QML Type Path:
| simplify : bool |
QML Type PathText:
| font.features : object |
QML Type RenderStats:
| lastCompletedGpuTime : float |
QML Type ScrollView:
| effectiveScrollBarHeight : real | |
| effectiveScrollBarWidth : real |
QML Type Shape:
| boundingRect : rect | |
| preferredRendererType : enumeration |
QML Type SpinBox:
| live : bool |
QML Type TableView:
| selectionMode : enumeration |
QML Type Text:
| font.features : object |
QML Type TextEdit:
| font.features : object |
QML Type TextInput:
| font.features : object |
QML Type TextToSpeech:
| engineCapabilities : enumeration |
QML Type TreeView:
| rootIndex : QModelIndex |
QML Type XMLHttpRequest:
| responseURL : string |
QML Type voice:
| language : enumerator |
New QML Signals
| aboutToSynthesize(number id) | |
| sayingWord(string word, int id, int start, int length) | |
| shapeHit(PhysicsNode *body, vector3D position, vector3D impulse, vector3D normal) | |
| wrapped(Dial.WrapDirection direction) |
New QML Methods
QML Type TextToSpeech:
| enqueue(string utterance) | |
| list<voice> | findVoices(map criteria) |
QML Type XMLHttpRequest:
| void | overrideMimeType(mime) |