This page contains a comprehensive list of all new classes and functions introduced in Qt 5.10. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
| virtual | cloneTo (QAbstractFileEngine * target ) | 
| virtual | setFileTime (const QDateTime & newDate , QAbstractFileEngine::FileTime time ) | 
类 QDebug :
| operator<< (QStringView s ) | 
类 QFileDevice :
| fileTime (QFileDevice::FileTime time ) const | |
| setFileTime (const QDateTime & newDate , QFileDevice::FileTime fileTime ) | 
类 QFileInfo :
| birthTime () const | |
| fileTime (QFile::FileTime time ) const | |
| metadataChangeTime () const | 
类 QIODevice :
| skip (qint64 maxSize ) | 
类 QProcess :
| startDetached (qint64 * pid ) | 
类 QTextCodec :
| canEncode (QStringView s ) const | |
| fromUnicode (QStringView str ) const | 
类 QTextEncoder :
| fromUnicode (QStringView str ) | 
类 QByteArray :
| back () | |
| back () const | |
| chopped (int len ) const | |
| front () | |
| front () const | |
| shrink_to_fit () | 
类 QHash :
| constKeyValueBegin () const | |
| constKeyValueEnd () const | |
| keyValueBegin () | |
| keyValueBegin () const | |
| keyValueEnd () | |
| keyValueEnd () const | 
类 QJsonArray :
| operator= (QJsonArray && other ) | |
| swap (QJsonArray & other ) | 
类 QJsonDocument :
| operator= (QJsonDocument && other ) | |
| operator[] (QLatin1String key ) const | |
| operator[] (const QString & key ) const | |
| operator[] (int i ) const | |
| swap (QJsonDocument & other ) | 
类 QJsonObject :
| operator= (QJsonObject && other ) | |
| swap (QJsonObject & other ) | 
类 QJsonValue :
| operator= (QJsonValue && other ) | |
| operator[] (QLatin1String key ) const | |
| operator[] (const QString & key ) const | |
| operator[] (int i ) const | |
| swap (QJsonValue & other ) | 
类 QLatin1String :
| back () const | |
| begin () const | |
| cbegin () const | |
| cend () const | |
| chop (int length ) | |
| chopped (int length ) const | |
| crbegin () const | |
| crend () const | |
| end () const | |
| front () const | |
| isEmpty () const | |
| isNull () const | |
| rbegin () const | |
| rend () const | |
| trimmed () const | |
| truncate (int length ) | 
类 QLocale :
| formattedDataSize (qint64 bytes , int precision , QLocale::DataSizeFormats format ) | |
| toDouble (QStringView s , bool * ok ) const | |
| toFloat (QStringView s , bool * ok ) const | |
| toInt (QStringView s , bool * ok ) const | |
| toLongLong (QStringView s , bool * ok ) const | |
| toShort (QStringView s , bool * ok ) const | |
| toString (const QDate & date , QStringView format ) const | |
| toString (const QDateTime & dateTime , QStringView format ) const | |
| toString (const QTime & time , QStringView format ) const | |
| toUInt (QStringView s , bool * ok ) const | |
| toULongLong (QStringView s , bool * ok ) const | |
| toUShort (QStringView s , bool * ok ) const | 
类 QMap :
| constKeyValueBegin () const | |
| constKeyValueEnd () const | |
| keyValueBegin () | |
| keyValueBegin () const | |
| keyValueEnd () | |
| keyValueEnd () const | 
类 QMetaObject :
| invokeMethod (QObject * context , Functor function , FunctorReturnType * ret ) | |
| invokeMethod (QObject * context , Functor function , Qt::ConnectionType type , FunctorReturnType * ret ) | 
| captured (QStringView name ) const | |
| capturedEnd (QStringView name ) const | |
| capturedLength (QStringView name ) const | |
| capturedRef (QStringView name ) const | |
| capturedStart (QStringView name ) const | |
| capturedView (QStringView name ) const | |
| capturedView (int nth ) const | 
类 QSettings :
| isAtomicSyncRequired () const | |
| setAtomicSyncRequired (bool enable ) | 
类 QString :
| arg (QLatin1String a , int fieldWidth , QChar fillChar ) const | |
| arg (QStringView a , int fieldWidth , QChar fillChar ) const | |
| back () | |
| back () const | |
| chopped (int len ) const | |
| endsWith (QStringView str , Qt::CaseSensitivity cs ) const | |
| front () | |
| front () const | |
| shrink_to_fit () | |
| startsWith (QStringView str , Qt::CaseSensitivity cs ) const | 
类 QStringList :
| contains (QLatin1String str , Qt::CaseSensitivity cs ) const | 
类 QStringRef :
| back () const | |
| chopped (int len ) const | |
| endsWith (QStringView str , Qt::CaseSensitivity cs ) const | |
| front () const | |
| startsWith (QStringView str , Qt::CaseSensitivity cs ) const | 
类 QThread :
| create (Function && f ) | |
| create (Function && f , Args &&... args ) | 
类 QVarLengthArray :
| shrink_to_fit () | 
类 QUuid :
| fromString (QLatin1String text ) | |
| fromString (QStringView text ) | 
类 QVector :
| shrink_to_fit () | 
类 QVersionNumber :
| fromString (QLatin1String string , int * suffixIndex ) | |
| fromString (QStringView string , int * suffixIndex ) | 
类 QGuiApplication :
| screenAt (const QPoint & point ) | 
类 QImage :
| sizeInBytes () const | 
| device () const | 
类 QColor :
| isValidColor (QStringView name ) | |
| setNamedColor (QStringView name ) | 
类 QPdfWriter :
| pdfVersion () const | |
| setPdfVersion (QPagedPaintDevice::PdfVersion version ) | 
类 QPolygon :
| intersects (const QPolygon & p ) const | 
类 QPolygonF :
| intersects (const QPolygonF & p ) const | 
类 QSurfaceFormat :
| colorSpace () const | |
| setColorSpace (QSurfaceFormat::ColorSpace colorSpace ) | 
类 QWindow :
| setWindowStates (Qt::WindowStates state ) | |
| windowStates () const | 
类 QTextOption :
| setTabStopDistance (qreal tabStopDistance ) | |
| tabStopDistance () const | 
类 QPlatformCursor :
| virtual | clearOverrideCursor () | 
| virtual | setOverrideCursor ( const QCursor & ) | 
| virtual | createPlatformVulkanInstance (QVulkanInstance * instance ) const | 
类 QHostInfo :
| operator= (QHostInfo && other ) | |
| swap (QHostInfo & other ) | 
类 QLocalServer :
| socketDescriptor () const | 
| enableStrictTransportSecurityStore (bool enabled , const QString & storeDir ) | |
| isStrictTransportSecurityStoreEnabled () const | 
类 QGeoPath :
| size () const | 
类 QGeoPolygon :
| size () const | 
类 QPrinter :
| pdfVersion () const | |
| setPdfVersion (QPagedPaintDevice::PdfVersion version ) | 
类 QQmlEngine :
| retranslate () | 
类 QQuickItem :
| acceptTouchEvents () const | |
| setAcceptTouchEvents (bool enabled ) | |
| setSize (const QSizeF & size ) | |
| size () const | 
类 QQuickWindow :
| setTextRenderType (QQuickWindow::TextRenderType renderType ) | |
| textRenderType () | 
类 QCanBusFrame :
| hasLocalEcho () const | |
| setLocalEcho (bool echo ) | 
类 QSqlError :
| operator= (QSqlError && other ) | |
| swap (QSqlError & other ) | 
类 QSqlQueryModel :
| virtual | roleNames () const override | 
| isPersistentEditorOpen (const QModelIndex & index ) const | 
类 QLineEdit :
| selectionEnd () const | |
| selectionLength () const | 
类 QListWidget :
| isPersistentEditorOpen (QListWidgetItem * item ) const | 
类 QOpenGLWidget :
| setTextureFormat (GLenum texFormat ) | |
| textureFormat () const | 
类 QTableWidget :
| isPersistentEditorOpen (QTableWidgetItem * item ) const | 
类 QTreeWidget :
| isPersistentEditorOpen (QTreeWidgetItem * item , int column ) const | 
类 QX11Info :
| generatePeekerId () | |
| peekEventQueue (QX11Info::PeekerCallback peeker , void * peekerData , QX11Info::PeekOptions option , qint32 peekerId ) | |
| removePeekerId (qint32 peekerId ) | 
类 QAbstractOAuth2 :
| virtual | post (const QUrl & url , QHttpMultiPart * multiPart ) | 
| virtual | post (const QUrl & url , const QByteArray & data ) | 
| virtual | put (const QUrl & url , QHttpMultiPart * multiPart ) | 
| virtual | put (const QUrl & url , const QByteArray & data ) | 
| bindService (const QAndroidIntent & serviceIntent , const QAndroidServiceConnection & serviceConnection , QtAndroid::BindFlags flags ) | |
| checkPermission (const QString & permission ) | |
| hideSplashScreen (int duration ) | |
| keySequence (QWindow * window , const QKeySequence & keySequence ) | |
| keySequence (QWidget * widget , const QKeySequence & keySequence ) | |
| qWaitFor (Functor predicate , int timeout ) | |
| requestPermissions (const QStringList & permissions , const QtAndroid::PermissionResultCallback & callbackFunc ) | |
| requestPermissionsSync (const QStringList & permissions , int timeoutMs ) | |
| shouldShowRequestPermissionRationale (const QString & permission ) | 
| operator!= (const QVulkanLayer & lhs , const QVulkanLayer & rhs ) | |
| operator!= (const QVulkanExtension & lhs , const QVulkanExtension & rhs ) | |
| operator!= (const QCursor & lhs , const QCursor & rhs ) | |
| operator== (const QVulkanLayer & lhs , const QVulkanLayer & rhs ) | |
| operator== (const QVulkanExtension & lhs , const QVulkanExtension & rhs ) | |
| operator== (const QCursor & lhs , const QCursor & rhs ) | |
| qHash (const QVulkanLayer & key , uint seed ) | |
| qHash (const QVulkanExtension & key , uint seed ) | |
| qHash (QStringView key , uint seed ) | 
| enum | FileTime { FileAccessTime, FileBirthTime, FileMetadataChangeTime, FileModificationTime } | 
| enum | DataSizeFormat { DataSizeBase1000, DataSizeSIQuantifiers, DataSizeIecFormat, DataSizeTraditionalFormat, DataSizeSIFormat } | 
| enum | Capability { OverrideCursor } | 
| enum | TextRenderType { QtTextRendering, NativeTextRendering } | 
| enum | Flag { NoDebugOutputRedirect } | 
| enum | PeekOption { PeekDefault, PeekFromCachedIndex } | 
| enum | BindFlag { None, AutoCreate, DebugUnbind, NotForeground, ..., ExternalService } | 
| enum | PermissionResult { Granted, Denied } | 
| typedef | const_key_value_iterator | 
| typedef | key_value_iterator | 
| typedef | const_iterator | 
| typedef | const_reverse_iterator | 
| typedef | difference_type | 
| typedef | iterator | 
| typedef | reference | 
| typedef | reverse_iterator | 
| typedef | size_type | 
| typedef | value_type | 
| typedef | const_key_value_iterator | 
| typedef | key_value_iterator | 
| typedef | PeekerCallback | 
| typedef | qint16_be | 
| typedef | qint16_le | 
| typedef | qint32_be | 
| typedef | qint32_le | 
| typedef | qint64_be | 
| typedef | qint64_le | 
| typedef | qsizetype | 
| typedef | quint16_be | 
| typedef | quint16_le | 
| typedef | quint32_be | 
| typedef | quint32_le | 
| typedef | quint64_be | 
| typedef | quint64_le | 
| 
 | 
 | 
| addMapItemView () | |
| alignCoordinateToPoint () | |
| removeMapItemView () | |
| setBearing () | |
| setPath () | |
| polygon () | |
| polygon () | |
| shapeToPolygon () | |
| keySequence () |