New Classes and Functions in Qt 6.4 | Qt 6.4

- Qt 6.4
- What's new in Qt 6
- New Classes and Functions in Qt 6.4
- Qt 6.4.1 Reference Documentation

# New Classes and Functions in Qt 6.4

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

- New Classes
- New Member Functions
- New Macros
- New Properties
- New Variables
- New QML Types

### New Classes

H
  QHttpServerRequest
  QHttpServerResponder
  QHttpServerRouterRule

W
  QWebSocketHandshakeOptions

### New Member Functions

Class QColor:

QColor | fromString(QAnyStringView name)
bool | isValidColorName(QAnyStringView name)

Class QColorTransform:

bool | isIdentity() const
QRgbaFloat16 | map(QRgbaFloat16 rgbafp16) const
QRgbaFloat32 | map(QRgbaFloat32 rgbafp32) const
bool | operator!=(const QColorTransform &ct1, const QColorTransform &ct2)
bool | operator==(const QColorTransform &ct1, const QColorTransform &ct2)

Class QFuture:

QFuture<U> | unwrap()

Class QJniEnvironment:

jfieldID | findField(jclass clazz, const char *fieldName)
jmethodID | findMethod(jclass clazz, const char *methodName)
jfieldID | findStaticField(jclass clazz, const char *fieldName)
jmethodID | findStaticMethod(jclass clazz, const char *methodName)

Class QJniObject:

auto | callMethod(const char *methodName, const char *signature, Args &&... args) const
auto | callMethod(const char *methodName, Args &&... args) const
QJniObject | callObjectMethod(const char *methodName, Args &&... args) const
auto | callStaticMethod(const char *className, const char *methodName, const char *signature, Args &&... args)
auto | callStaticMethod(jclass clazz, jmethodID methodId, Args &&... args)
auto | callStaticMethod(const char *className, const char *methodName, Args &&... args)
auto | callStaticMethod(jclass clazz, const char *methodName, Args &&... args)
QJniObject | callStaticObjectMethod(const char *className, const char *methodName, Args &&... args)
QJniObject | callStaticObjectMethod(jclass clazz, const char *methodName, Args &&... args)
QJniObject | construct(Args &&... args)

Class QLatin1Char:

QLatin1Char | operator""_L1(char ch)

Class QLine:

QLineF | toLineF() const

Class QMap:

auto | asKeyValueRange() &
auto | asKeyValueRange() const &
auto | asKeyValueRange() &&
auto | asKeyValueRange() const &&

Class QMargins:

QMarginsF | toMarginsF() const

Class QMqttSubscriptionProperties:

bool | noLocal() const
void | setNoLocal(bool noloc)

Class QMultiMap:

auto | asKeyValueRange() &
auto | asKeyValueRange() const &
auto | asKeyValueRange() &&
auto | asKeyValueRange() const &&

Class QRect:

QRectF | toRectF() const

Class QSize:

QSizeF | toSizeF() const

Class QStringView:

int | count(QLatin1StringView, Qt::CaseSensitivity) const
int | localeAwareCompare(QStringView other) const

Class QVarLengthArray:

void | resize(int size, const T &v)

Class QVoice:

QDataStream & | operator<<(QDataStream &stream, const QVoice &voice)
QDebug | operator<<(QDebug debug, const QVoice &voice)
QDataStream & | operator>>(QDataStream &stream, QVoice &voice)
void | swap(QVoice &other)

Class QVulkanWindow:

void | setEnabledFeaturesModifier(const QVulkanWindow::EnabledFeaturesModifier &modifier)

### New Macros

| QCOMPARE_EQ(left, right)
| QCOMPARE_GE(left, right)
| QCOMPARE_GT(left, right)
| QCOMPARE_LE(left, right)
| QCOMPARE_LT(left, right)
| QCOMPARE_NE(left, right)
| QTRY_COMPARE_EQ(left, right)
| QTRY_COMPARE_EQ_WITH_TIMEOUT(left, right, timeout)
| QTRY_COMPARE_GE(left, right)
| QTRY_COMPARE_GE_WITH_TIMEOUT(left, right, timeout)
| QTRY_COMPARE_GT(left, right)
| QTRY_COMPARE_GT_WITH_TIMEOUT(left, right, timeout)
| QTRY_COMPARE_LE(left, right)
| QTRY_COMPARE_LE_WITH_TIMEOUT(left, right, timeout)
| QTRY_COMPARE_LT(left, right)
| QTRY_COMPARE_LT_WITH_TIMEOUT(left, right, timeout)
| QTRY_COMPARE_NE(left, right)
| QTRY_COMPARE_NE_WITH_TIMEOUT(left, right, timeout)

### New Properties

- locale : const

### New Variables

| MacOSVentura
| Windows11_21H2
| Windows11_22H2

### New QML Types

C
  ColorDialog

P
  PhysicsMaterial

R
  Repeller3D

S
  ScaleAffector3D
  SystemInformation