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
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 QFormLayout:
| bool | isRowVisible(int row) const |
| bool | isRowVisible(QWidget *widget) const |
| bool | isRowVisible(QLayout *layout) const |
| void | setRowVisible(int row, bool on) |
| void | setRowVisible(QWidget *widget, bool on) |
| void | setRowVisible(QLayout *layout, bool on) |
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 QNetworkInformation:
| bool | loadBackendByFeatures(QNetworkInformation::Features features) |
| bool | loadBackendByName(QStringView backend) |
Class QPoint:
| QPointF | toPointF() const |
Class QRect:
| QRectF | toRectF() const |
Class QSize:
| QSizeF | toSizeF() const |
Class QStringView:
| qsizetype | count(QLatin1StringView l1, Qt::CaseSensitivity cs) const |
| int | localeAwareCompare(QStringView other) const |
Class QTextToSpeech:
| bool | setEngine(const QString &engine, const QVariantMap ¶ms) |
Class QVarLengthArray:
| void | resize(qsizetype 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) |
Class QWebSocket:
| QWebSocketHandshakeOptions | handshakeOptions() const |
| void | open(const QUrl &url, const QWebSocketHandshakeOptions &options) |
| void | open(const QNetworkRequest &request, const QWebSocketHandshakeOptions &options) |
| QString | subprotocol() const |
Class QWebSocketServer:
| void | setSupportedSubprotocols(const QStringList &protocols) |
| QStringList | supportedSubprotocols() const |
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) |