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 Classes
- New Member Functions
- New Functions in Namespaces
- New Macros
- New Enum Types
- New Enum Values
- New Properties
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods
New Classes
- 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:
| CommunicationModes | communicationModes() const |
| void | setCommunicationModes(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:
| Duration | durationElapsed() const |
| Duration | durationTo(const QElapsedTimer &other) const |
Class QFileInfo:
| QDateTime | birthTime(const QTimeZone &tz) const |
| QDateTime | fileTime(QFile::FileTime time, const QTimeZone &tz) 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:
| void | clearFeatures() |
| QList<quint32> | featureTags() const |
| quint32 | featureValue(quint32 tag) const |
| bool | isFeatureSet(quint32 tag) const |
| void | setFeature(const char *feature, quint32 value) |
| void | setFeature(quint32 tag, quint32 value) |
| quint32 | stringToTag(const char *name) |
| QByteArray | tagToString(quint32 tag) |
| void | unsetFeature(quint32 tag) |
| void | unsetFeature(const char *feature) |
Class QHostAddress:
| bool | isPrivateUse() const |
Class QJSPrimitiveValue:
Class QMessageAuthenticationCode:
| QMessageAuthenticationCode & | operator=(QMessageAuthenticationCode &&other) |
| QByteArrayView | resultView() const |
| void | swap(QMessageAuthenticationCode &other) |
Class QMessageBox:
| void | setOption(Option option, bool on) |
| bool | testOption(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 QObject:
| bool | setProperty(const char *name, QVariant &&value) |
Class QPalette:
| bool | operator==(const QPalette &p) const |
Class QProcess:
| void | setUnixProcessParameters(const UnixProcessParameters ¶ms) |
| void | setUnixProcessParameters(UnixProcessFlags flagsOnly) |
| UnixProcessParameters | unixProcessParameters() const |
Class QPromise:
| bool | addResults(const QList<T> &results) |
Class QProtobufMessage:
| bool | setProperty(QAnyStringView propertyName, QVariant &&value) |
Class QQmlEngine:
Class QQuickGraphicsConfiguration:
| bool | isTimestampsEnabled() const |
| void | setTimestamps(bool enable) |
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, 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 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 | fromJsString(emscripten::val jsString) |
| emscripten::val | toJsString() 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) |
| Id128Bytes | toBytes(QSysInfo::Endian order) const |
| quint128 | toUInt128(QSysInfo::Endian order) const |
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 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 Macros
New Enum Types
| enum | CommunicationMode { Access, Advertise, Default } |
| enum class | Option { DontUseNativeDialog } |
| enum class | UnixProcessFlag { ResetSignalHandlers, IgnoreSigPipe, CloseNonStandardFileDescriptors, UseVFork } |
| enum class | Capability { None, Speak, PauseResume, WordByWordProgress, Synthesize } |
New Enum Values
| enum value | BoundaryHint::Utterance |
| enum value | ColorRole::AccentColor |
| enum value | Property::ListStart |
| enum value | RelationFlag::Described |
| enum value | RelationFlag::DescriptionFor |
| enum value | RelationFlag::FlowsFrom |
| enum value | RelationFlag::FlowsTo |
| enum value | TabPosition::Moving |
| enum value | WildcardConversionOption::NonPathWildcardConversion |
New Properties
- nameserverPort :
- windowCapture : const
- engineCapabilities : const
- language : const
New QML Types
New QML Properties
QML Type CaptureSession:
| windowCapture : WindowCapture |
QML Type CharacterController:
| enableShapeHitCallback : bool |
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:
| simplified : 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 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) |