Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

New Classes and Functions in Qt 5.11

This page contains a comprehensive list of all new classes and functions introduced in Qt 5.11. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.

New Classes

New Member Functions

Class QRemoteObjectHostBase:

proxy(const QUrl &registryUrl, const QUrl &hostUrl, QRemoteObjectHostBase::RemoteObjectNameFilter filter)
reverseProxy(QRemoteObjectHostBase::RemoteObjectNameFilter filter)

Class QQmlContext:

setContextProperties(const QVector<QQmlContext::PropertyPair> &properties)

Class QAbstractItemModel:

checkIndex(const QModelIndex &index, QAbstractItemModel::CheckIndexOptions options) const

Class QModelIndex:

siblingAtColumn(int column) const
siblingAtRow(int row) const

Class QSysInfo:


Class QVariant:

fromStdVariant(const int &value)

Class QUuid:

toByteArray(QUuid::StringFormat mode) const
toString(QUuid::StringFormat mode) const

Class QBitArray:

bits() const
fromBits(const char *data, int size)

Class QScopedPointer:

get() const

Class QSharedPointer:

get() const

Class QString:

remove(QLatin1String str, Qt::CaseSensitivity cs)

Class QStringView:

isRightToLeft() const

Class QVarLengthArray:

operator+=(T &&value)
operator<<(T &&value)

Class QVector:

operator+=(T &&value)
operator<<(T &&value)

Class QGamepadManager:

gamepadName(int deviceId) const

Class QPlatformWindow:

virtual startSystemMove(const QPoint &pos)

Class QIcon:

fallbackSearchPaths()
setFallbackSearchPaths(const QStringList &paths)

Class QGuiApplication:

fontChanged(const QFont &font)

Class QFontMetrics:

horizontalAdvance(QChar ch) const
horizontalAdvance(const QString &text, int len) const

Class QFontMetricsF:

horizontalAdvance(QChar ch) const
horizontalAdvance(const QString &text, int length) const

Class QGeoRouteRequest:

extraParameters() const
setExtraParameters(const QVariantMap &extraParameters)

Class QMediaPlayer:

customAudioRoleChanged(const QString &role)
supportedCustomAudioRoles() const

Class QVideoSurfaceFormat:

isMirrored() const
setMirrored(bool mirrored)

Class QHostAddress:

isBroadcast() const
isGlobal() const
isLinkLocal() const
isSiteLocal() const
isUniqueLocalUnicast() const

Class QNetworkAddressEntry:

clearAddressLifetime()
dnsEligibility() const
isLifetimeKnown() const
isPermanent() const
isTemporary() const
preferredLifetime() const
setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer validity)
setDnsEligibility(QNetworkAddressEntry::DnsEligibilityStatus status)
validityLifetime() const

Class QNetworkInterface:

maximumTransmissionUnit() const
type() const

Class QSslConfiguration:

backendConfiguration() const
setBackendConfiguration(const QMap<QByteArray, QVariant> &backendConfiguration)
setBackendConfigurationOption(const QByteArray &name, const QVariant &value)

Class QCanBusDeviceInfo:

channel() const
description() const
serialNumber() const

Class QMenuBar:

addAction(const QString &text, Functor functor)
addAction(const QString &text, const Obj *receiver, PointerToMemberFunctionOrFunctor method)

New Functions in Namespaces

toString(const int &pair)
toString(const QPair<T1, T2> &pair)
toString(const QVector4D &v)
toString(const QVector3D &v)
toString(const QVector2D &v)
toString(const QUuid &uuid)
toString(const QStringView &string)

New Global Functions

qFloatFromFloat16(float *out, const qfloat16 *in, int len)
qFloatToFloat16(qfloat16 *out, const float *in, int len)

New Enum Types

enum CheckIndexOption { NoOption, IndexIsValid, DoNotUseParent, ParentIsInvalid }
enum DnsEligibilityStatus { DnsEligibilityUnknown, DnsIneligible, DnsEligible }
enum StringFormat { WithBraces, WithoutBraces, Id128 }

New Typedefs

typedef const_reference

New Properties

New QML Types

New QML Properties

New QML Signals

New QML Methods

Additions to Other Qt 5 Releases

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded