New Classes and Functions in Qt 5.12
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.12. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
New Classes
New Member Functions
Class QBluetoothDeviceInfo:
Class QMetaEnum:
Class QSortFilterProxyModel:
Class QByteArray:
| compare(const QByteArray &a, Qt::CaseSensitivity cs) const |
| compare(const char *c, Qt::CaseSensitivity cs) const |
| isLower() const |
| isUpper() const |
Class QCryptographicHash:
Class QExplicitlySharedDataPointer:
Class QMetaEnumBuilder:
Class QRegularExpression:
Class QString:
Class QTextStream:
Class QTimer:
| callOnTimeout(Functor slot, Qt::ConnectionType connectionType) |
| callOnTimeout(const QObject *context, Functor slot, Qt::ConnectionType connectionType) |
| callOnTimeout(const QObject *receiver, PointerToMemberFunction slot, Qt::ConnectionType connectionType) |
Class QStringList:
| contains(QStringView str, Qt::CaseSensitivity cs) const |
Class QStringView:
| compare(QStringView other, Qt::CaseSensitivity cs) const |
Class QDBusMessage:
Class QBitmap:
| fromImage(QImage &&image, Qt::ImageConversionFlags flags) |
Class QIcon:
Class QImageReader:
Class QImageWriter:
Class QPalette:
Class QStandardItemModel:
Class QStandardItem:
Class QWindowSystemInterface:
Class QPainter:
| fillRect(const QRect &rectangle, QGradient::Preset preset) |
| fillRect(const QRectF &rectangle, QGradient::Preset preset) |
| fillRect(int x, int y, int width, int height, QGradient::Preset preset) |
Class QTextBlockFormat:
Class QTextImageFormat:
Class QGeoRoute:
Class QGeoRouteSegment:
Class QGeoServiceProviderFactoryV3:
Class QSslCertificate:
Class QNearFieldManager:
Class QNearFieldTarget:
| reportError(QNearFieldTarget::Error error, const QNearFieldTarget::RequestId &id) |
Class QGeoPath:
Class QGeoPolygon:
Class QJSEngine:
Class QJSValue:
Class QQmlComponent:
Class QQmlEngine:
Class QQuickStyle:
Class QCanBusDevice:
Class QWebSocket:
Class QWebSocketServer:
Class QDoubleSpinBox:
Class QLayout:
| indexOf(QLayoutItem *layoutItem) const |
Class QLineEdit:
Class QSpinBox:
Class QWaylandCompositor:
Class QWaylandSeat:
Class QRemoteObjectHostBase:
Class QRemoteObjectNode:
New Functions in Namespaces
| deriveKeyPbkdf1(QCryptographicHash::Algorithm algorithm, const QByteArray &data, const QByteArray &salt, int iterations, quint64 dkLen) |
| deriveKeyPbkdf2(QCryptographicHash::Algorithm algorithm, const QByteArray &data, const QByteArray &salt, int iterations, quint64 dkLen) |
| imageFromHBITMAP(HBITMAP bitmap, QtWin::HBitmapFormat format) |
| imageToHBITMAP(const QImage &image, QtWin::HBitmapFormat format) |
| toString(const std::tuple<Types...> &tuple) |
| toString(const QCborError &c) |
New Global Functions
| qFromBigEndian(const void *src, qsizetype count, void *dest) |
| qFromLittleEndian(const void *src, qsizetype count, void *dest) |
| qToBigEndian(const void *src, qsizetype count, void *dest) |
| qToLittleEndian(const void *src, qsizetype count, void *dest) |
| qmlTypeId(const char *uri, int versionMajor, int versionMinor, const char *qmlName) |
New Macros
New Enum Types
enum | Field { None, RSSI, ManufacturerData, All } |
enum | Direction { Input, Output, AllDirections } |
enum | HandshakeState { HandshakeNotStarted, HandshakeInProgress, PeerVerificationFailed, HandshakeComplete } |
enum | QDtlsError { NoError, InvalidInputParameters, InvalidOperation, UnderlyingSocketError, ..., TlsNonFatalError } |
enum | Preset { WarmFlame, NightFade, SpringWarmth, JuicyPeach, ..., PerfectBlue } |
enum | ErrorType { NoError, GenericError, EvalError, RangeError, ..., URIError } |
enum | AdapterState { Offline, TurningOn, Online, TurningOff } |
New Typedefs
New Properties
New QML Types
New QML Properties
New QML Signals
New QML Methods
Additions to Other Qt 5 Releases