New Classes and Functions in Qt 6.3

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

New Classes

New Member Functions

Class QAbstract3DGraph:

bool hasSeries(QAbstract3DSeries *series) const

Class QBluetoothDeviceInfo:

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

Class QByteArrayList:

QByteArray join(QByteArrayView separator) const

Class QByteArrayMatcher:

qsizetype indexIn(QByteArrayView data, qsizetype from) const

Class QByteArrayView:

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

Class QCryptographicHash:

QByteArrayView resultView() const

Class QDebug:

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

Class QInputDevice:

QStringList seatNames()

Class QEGLContext:

int config() const
int display() const

Class QNetworkInformation:

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

Class QOpcUaClient:

QOpcUaHistoryReadResponse *readHistoryData(const QOpcUaHistoryReadRawRequest &request)

Class QOpcUaLocalizedText:

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

Class QOpcUaNode:

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

Class QOpcUaQualifiedName:

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

Class QRegularExpressionMatch:

bool hasCaptured(const QString &name) const
bool hasCaptured(QStringView name) const
bool hasCaptured(int nth) const

Class QStringView:

qsizetype lastIndexOf(QChar c, Qt::CaseSensitivity cs) const

Class QThreadPool:

void startOnReservedThread(QRunnable *runnable)
void startOnReservedThread(std::function<void ()> functionToRun)

Class QUtf8StringView:

bool isValidUtf8() const

Class QVarLengthArray:

QVarLengthArray::iterator emplace(QVarLengthArray::const_iterator pos, Args &&... args)
T &emplace_back(Args &&... args)

New Functions in Namespaces

QFuture<OutputSequence> whenAll(Futures &&... futures)
QFuture<OutputSequence> whenAll(InputIt first, InputIt last)
QFuture<std::variant<std::decay_t<Futures>...>> whenAny(Futures &&... futures)
QFuture<QtFuture::WhenAnyResult<T>> whenAny(InputIt first, InputIt last)

New Macros

QVERIFY_THROWS_EXCEPTION(exceptiontype, ...)
QVERIFY_THROWS_NO_EXCEPTION(...)
Q_APPLICATION_STATIC(Type, VariableName, ...)

New Enum Types

enum class TransportMedium { Unknown, Ethernet, Cellular, WiFi, Bluetooth }

New Properties

New Variables

New QML Types

New QML Properties

QML Type Bar3DSeries:

rowColors : list<ThemeColor>

QML Type Bars3D:


QML Type HeightMapSurfaceDataProxy:

autoScaleY : real
maxYValue : real
minYValue : real

QML Type ParticleSystem3DLogging:

timeDeviation : real

QML Type Surface3DSeries:

wireframeColor : color

New QML Methods

QML Type AbstractGraph3D:

bool hasSeries(Abstract3DSeries series)

QML Type TestCase:

failOnWarning(message)