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:
QByteArray | manufacturerData(quint16 manufacturerId) const |
QHash<quint16, QByteArray> | manufacturerData() const |
QVector<quint16> | manufacturerIds() const |
bool | setManufacturerData(quint16 manufacturerId, const QByteArray &data) |
Class QGeoRoute:
QList<QGeoRouteLeg> | routeLegs() const |
void | setRouteLegs(const QList<QGeoRouteLeg> &legs) |
Class QGeoRouteSegment:
bool | isLegLastSegment() const |
Class QGeoServiceProviderFactoryV3:
virtual void | setQmlEngine(QQmlEngine *engine) |
Class QNearFieldManager:
void | adapterStateChanged(QNearFieldManager::AdapterState state) |
bool | isSupported() const |
Class QNearFieldTarget:
void | reportError(QNearFieldTarget::Error error, const QNearFieldTarget::RequestId &id) |
Class QGeoPath:
void | clearPath() |
Class QGeoPolygon:
void | addHole(const QVariant &holePath) |
void | addHole(const QList<QGeoCoordinate> &holePath) |
const QVariantList | hole(int index) const |
const QList<QGeoCoordinate> | holePath(int index) const |
int | holesCount() const |
void | removeHole(int index) |
Class QQuickStyle:
void | addStylePath(const QString &path) |
QStringList | stylePathList() |
Class QWebSocket:
qint64 | bytesToWrite() const |
Class QWebSocketServer:
qintptr | nativeDescriptor() const |
bool | setNativeDescriptor(qintptr socketDescriptor) |
New Enum Types
enum class | Field { None, RSSI, ManufacturerData, All } |
enum class | AdapterState { Offline, TurningOn, Online, TurningOff } |
New QML Properties
New QML Methods
coordToMercator() | |
equals() | |
mercatorToCoord() | |
polygon() |