Nouvelles classes et fonctions dans Qt 6.3

Cette page contient une liste complète de toutes les nouvelles classes et fonctions introduites dans Qt 6.3.

Nouvelles classes

Nouvelles fonctions des membres

Classe QAbstract3DGraph:

(since 6.3) bool hasSeries(QAbstract3DSeries *series) const

Classe QBluetoothDeviceInfo:

(since 6.3) QMultiHash<QBluetoothUuid, QByteArray> serviceData() const
(since 6.3) QByteArray serviceData(const QBluetoothUuid &serviceId) const
(since 6.3) QList<QBluetoothUuid> serviceIds() const
(since 6.3) bool setServiceData(const QBluetoothUuid &serviceId, const QByteArray &data)

Classe QByteArray:

(since 6.3) bool isValidUtf8() const

Classe QByteArrayList:

(since 6.3) QByteArray join(QByteArrayView separator = {}) const

Classe QByteArrayMatcher:

(since 6.3) qsizetype indexIn(QByteArrayView data, qsizetype from = 0) const

Classe QByteArrayView:

(since 6.3) bool isValidUtf8() const
(since 6.3) double toDouble(bool *ok = nullptr) const
(since 6.3) float toFloat(bool *ok = nullptr) const
(since 6.3) int toInt(bool *ok = nullptr, int base = 10) const
(since 6.3) long toLong(bool *ok = nullptr, int base = 10) const
(since 6.3) qlonglong toLongLong(bool *ok = nullptr, int base = 10) const
(since 6.3) short toShort(bool *ok = nullptr, int base = 10) const
(since 6.3) uint toUInt(bool *ok = nullptr, int base = 10) const
(since 6.3) ulong toULong(bool *ok = nullptr, int base = 10) const
(since 6.3) qulonglong toULongLong(bool *ok = nullptr, int base = 10) const
(since 6.3) ushort toUShort(bool *ok = nullptr, int base = 10) const
(since 6.3) QByteArrayView trimmed() const

Classe QCborArray:

(since 6.3) QCborArray fromJsonArray(QJsonArray &&array)

Classe QCborMap:

(since 6.3) QCborMap fromJsonObject(QJsonObject &&obj)

Classe QCollator:

(since 6.3) int defaultCompare(QStringView s1, QStringView s2)
(since 6.3) QCollatorSortKey defaultSortKey(QStringView key)

Classe QCryptographicHash:

(since 6.3) QByteArrayView resultView() const

Classe QDebug:

(since 6.3) QDebug operator<<(QDebug debug, const QVarLengthArray<T, P> &array)

Classe QDirIterator:

(since 6.3) QFileInfo nextFileInfo()

Classe QDoubleValidator:

(since 6.3) virtual void fixup(QString &input) const override

Classe QFile:

(since 6.3) std::filesystem::path filesystemSymLinkTarget() const
(since 6.3) std::filesystem::path filesystemSymLinkTarget(const std::filesystem::path &fileName)
(since 6.3) bool open(QIODeviceBase::OpenMode mode, QFileDevice::Permissions permissions)

Classe QFontComboBox:

(since 6.3) std::optional<QFont> displayFont(const QString &fontFamily) const
(since 6.3) QString sampleTextForFont(const QString &fontFamily) const
(since 6.3) QString sampleTextForSystem(QFontDatabase::WritingSystem writingSystem) const
(since 6.3) void setDisplayFont(const QString &fontFamily, const QFont &font)
(since 6.3) void setSampleTextForFont(const QString &fontFamily, const QString &sampleText)
(since 6.3) void setSampleTextForSystem(QFontDatabase::WritingSystem writingSystem, const QString &sampleText)

Classe QFontMetrics:

(since 6.3) QRect boundingRect(const QString &text, const QTextOption &option) const
(since 6.3) int horizontalAdvance(const QString &text, const QTextOption &option) const
(since 6.3) QRect tightBoundingRect(const QString &text, const QTextOption &option) const

Classe QFontMetricsF:

(since 6.3) QRectF boundingRect(const QString &text, const QTextOption &option) const
(since 6.3) qreal horizontalAdvance(const QString &text, const QTextOption &option) const
(since 6.3) QRectF tightBoundingRect(const QString &text, const QTextOption &option) const

Classe QInputDevice:

(since 6.3) QStringList seatNames()

Classe QLatin1StringView:

(since 6.3) qsizetype lastIndexOf(QChar ch, Qt::CaseSensitivity cs) const

Classe QLocalServer:

(since 6.3) int listenBacklogSize() const
(since 6.3) void setListenBacklogSize(int size)

Classe QLocale:

(since 6.3) QLocale::Language codeToLanguage(QStringView languageCode, QLocale::LanguageCodeTypes codeTypes = AnyLanguageCode)
(since 6.3) QString languageToCode(QLocale::Language language, QLocale::LanguageCodeTypes codeTypes = AnyLanguageCode)

Classe QEGLContext:

(since 6.3) virtual EGLConfig config() const = 0
(since 6.3) virtual EGLDisplay display() const = 0

Classe QNetworkInformation:

(since 6.3) bool loadDefaultBackend()
(since 6.3) QNetworkInformation::Features supportedFeatures() const

Classe QNetworkReply:

(since 6.3) void requestSent()
(since 6.3) void socketStartedConnecting()

Classe QObject:

(since 6.3) QList<T> findChildren(Qt::FindChildOptions options = Qt::FindChildrenRecursively) const

Classe QOpcUaClient:

(since 6.3) QOpcUaHistoryReadResponse *readHistoryData(const QOpcUaHistoryReadRawRequest &request)

Classe QOpcUaLocalizedText:

(since 6.3) QDebug operator<<(QDebug debug, const QOpcUaLocalizedText &text)

Classe QOpcUaNode:

(since 6.3) QOpcUaHistoryReadResponse *readHistoryRaw(const QDateTime &startTime, const QDateTime &endTime, quint32 numValues, bool returnBounds)

Classe QOpcUaQualifiedName:

(since 6.3) QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)

Classe QProcessEnvironment:

(since 6.3) bool inheritsFromParent() const

Classe QQuickItem:

(since 6.3) void dumpItemTree() const
(since 6.3) void ensurePolished()

Classe QQuickRenderTarget:

(since 6.3) qreal devicePixelRatio() const
(since 6.3) void setDevicePixelRatio(qreal ratio)

Classe QRegularExpressionMatch:

(since 6.3) bool hasCaptured(QAnyStringView name) const
(since 6.3) bool hasCaptured(int nth) const

Classe QSemaphore:

(since 6.3) bool tryAcquire(int n, std::chrono::duration<Rep, Period> timeout)
(since 6.3) bool try_acquire()
(since 6.3) bool try_acquire_for(const std::chrono::duration<Rep, Period> &timeout)
(since 6.3) bool try_acquire_until(const std::chrono::time_point<Clock, Duration> &tp)

Classe QString:

(since 6.3) qsizetype lastIndexOf(QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive) const

Classe QStringView:

(since 6.3) qsizetype lastIndexOf(QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive) const

Classe QTableWidgetSelectionRange:

(since 6.3) bool operator!=(const QTableWidgetSelectionRange &lhs, const QTableWidgetSelectionRange &rhs)
(since 6.3) bool operator==(const QTableWidgetSelectionRange &lhs, const QTableWidgetSelectionRange &rhs)

Classe QTcpServer:

(since 6.3) int listenBacklogSize() const
(since 6.3) void setListenBacklogSize(int size)

Classe QThreadPool:

(since 6.3) void startOnReservedThread(QRunnable *runnable)
(since 6.3) void startOnReservedThread(Callable &&callableToRun)

Classe QUrl:

(since 6.3) QString fromAce(const QByteArray &domain, QUrl::AceProcessingOptions options = {})
(since 6.3) QByteArray toAce(const QString &domain, QUrl::AceProcessingOptions options = {})

Classe QUtf8StringView:

(since 6.3) bool isValidUtf8() const

Classe QVarLengthArray:

(since 6.3) QVarLengthArray<T, Prealloc>::iterator emplace(QVarLengthArray<T, Prealloc>::const_iterator pos, Args &&... args)
(since 6.3) T &emplace_back(Args &&... args)

Classe QWidget:

(since 6.3) QAction *addAction(const QString &text)
(since 6.3) QAction *addAction(const QIcon &icon, const QString &text)
(since 6.3) QAction *addAction(const QString &text, const QKeySequence &shortcut)
(since 6.3) QAction *addAction(const QIcon &icon, const QString &text, const QKeySequence &shortcut)
(since 6.3) QAction *addAction(const QString &text, Args &&... args)
(since 6.3) QAction *addAction(const QIcon &icon, const QString &text, Args &&... args)
(since 6.3) QAction *addAction(const QString &text, const QKeySequence &shortcut, Args &&... args)
(since 6.3) QAction *addAction(const QIcon &icon, const QString &text, const QKeySequence &shortcut, Args &&... args)
(since 6.3) QAction *addAction(const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type = Qt::AutoConnection)
(since 6.3) QAction *addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char *member, Qt::ConnectionType type = Qt::AutoConnection)
(since 6.3) QAction *addAction(const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type = Qt::AutoConnection)
(since 6.3) QAction *addAction(const QIcon &icon, const QString &text, const QKeySequence &shortcut, const QObject *receiver, const char *member, Qt::ConnectionType type = Qt::AutoConnection)

Nouvelles fonctions dans les espaces de nommage

(since 6.3) void failOnWarning(const char *message)
(since 6.3) void failOnWarning(const QRegularExpression &messagePattern)
(since 6.3) QFuture<OutputSequence> whenAll(InputIt first, InputIt last)
(since 6.3) QFuture<OutputSequence> whenAll(Futures &&... futures)
(since 6.3) QFuture<QtFuture::WhenAnyResult<T>> whenAny(InputIt first, InputIt last)
(since 6.3) QFuture<std::variant<std::decay_t<Futures>...>> whenAny(Futures &&... futures)

Nouvelles fonctions globales

(since 6.3) const char *qWebEngineChromiumSecurityPatchVersion()

Nouvelles macros

(since 6.3) QT_TRID_N_NOOP(id)
(since 6.3) QVERIFY_THROWS_EXCEPTION(exceptiontype, ...)
(since 6.3) QVERIFY_THROWS_NO_EXCEPTION(...)
(since 6.3) Q_APPLICATION_STATIC(Type, VariableName, ...)
(since 6.3) Q_GADGET_EXPORT(EXPORT_MACRO)

Nouveaux types d'énumération

(since 6.3) enum class TransportMedium { Unknown, Ethernet, Cellular, WiFi, Bluetooth }
(since 6.3) enum Initialization { InheritFromParent }
(since 6.3) enum AceProcessingOption { IgnoreIDNWhitelist, AceTransitionalProcessing }

Nouvelles valeurs d'énumération

Nouvelles propriétés

Nouvelles variables

(since 6.3) const QOperatingSystemVersion MacOSMonterey
(since 6.3) const QOperatingSystemVersionBase Windows10_1809
(since 6.3) const QOperatingSystemVersionBase Windows10_1903
(since 6.3) const QOperatingSystemVersionBase Windows10_1909
(since 6.3) const QOperatingSystemVersionBase Windows10_2004
(since 6.3) const QOperatingSystemVersionBase Windows10_20H2
(since 6.3) const QOperatingSystemVersionBase Windows10_21H1
(since 6.3) const QOperatingSystemVersionBase Windows10_21H2
(since 6.3) const QOperatingSystemVersionBase Windows11

Nouveaux types QML

Nouvelles propriétés QML

Type QML Bar3DSeries:

(since 6.3) rowColors : list<ThemeColor>

Type QML Bars3D:

(since 6.3) barSeriesMargin : size

Type QML FileInstancing:

(since 6.3) instanceCount : int

Type QML HeightMapSurfaceDataProxy:

(since 6.3) autoScaleY : real
(since 6.3) maxYValue : real
(since 6.3) minYValue : real

Type QML HoverHandler:

(since 6.3) blocking : bool

Type QML InstanceList:

(since 6.3) instanceCount : int

Type QML ParticleSystem3DLogging:

(since 6.3) timeDeviation : real

Type QML SpriteParticle3D:

(since 6.3) lights : list<Light>
(since 6.3) offsetX : real
(since 6.3) offsetY : real

Type QML Surface3DSeries:

(since 6.3) wireframeColor : color

Type QML TextMetrics:

(since 6.3) renderType : enumeration

Type de QML WheelHandler:

(since 6.3) blocking : bool

Nouvelles méthodes QML

Type de QML AbstractGraph3D:

(since 6.3) bool hasSeries(Abstract3DSeries series)

Type de QML Instancing:

(since 6.3) color instanceColor(int index)
(since 6.3) vector3d instanceCustomData(int index)
(since 6.3) vector3d instancePosition(int index)
(since 6.3) quaternion instanceRotation(int index)
(since 6.3) vector3d instanceScale(int index)

Type de QML Item:

(since 6.3) void dumpItemTree()

Type QML TestCase:

(since 6.3) failOnWarning(message)

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