Qt Enterprise 4.8 provides many improvements and enhancements over the previous releases in the Qt 4 series. This document covers the most important features in this release, separated by category.
A list of other Qt 4 features can be found on the What's New in Qt 4 page.
Many Qt OpenGL functions are now thread-safe. Threads that cater to different situations are now available.
Qt Commercial 4.8 includes official support to several new desktop and embedded platforms, such as
Support to many Real-Time Operating Systems has been added to Qt Commercial 4.8. These will be updated in the upcoming 4.8.x releases. Additionally Qt for Embedded Linux (QWS) continues to be officially supported in Qt Commercial 4.8.
For details of the platforms supported by Qt Commercial, please refer to Supported Platforms documentation.
Qt Quick 1.1 introduces new changes such as new properties and better performance.
Right-To-Left text support
Improved image caching
Text input improvements - Support for split-screen virtual keyboard
PinchArea Element - enables simple pinch gesture handling
New properties for QML Elements.
QPA allows porting Qt to different windowing systems and devices easier. It provides a clean abstraction layer for porting QtGui to new window systems. QPA is also a future replacement for Qt for Embedded Linux (QWS), making it much easier to port Qt to new platforms. QWS is still included and used in 4.8 for embedded platforms.
Note: QPA is considered an experimental feature in Qt 4.8. In Qt 5 it is a supported and complete feature.
Changes to the Localization APIs include improvements to QLocale and more support for different language code formats.
Class QThreadPool:
| bool | waitForDone ( int msecs ) |
Class QNetworkProxyQuery:
| void | setNetworkConfiguration ( const QNetworkConfiguration & networkConfiguration ) |
Class QContiguousCache:
| void | swap ( QContiguousCache<T> & other ) |
Class QProcessEnvironment:
| void | insert ( const QProcessEnvironment & e ) |
| QStringList | keys () const |
Class QPrinterInfo:
| QPrinterInfo & | operator= ( const QPrinterInfo & other ) |
Class QSslSocket:
| QString | peerVerifyName () const |
| void | setPeerVerifyName ( const QString & hostName ) |
Class QNetworkAccessManager:
| QNetworkReply * | post ( const QNetworkRequest & request, QHttpMultiPart * multiPart ) |
| QNetworkReply * | put ( const QNetworkRequest & request, QHttpMultiPart * multiPart ) |
Class QUndoCommand:
| QString | actionText () const |
Class QSharedMemory:
| QString | nativeKey () const |
| void | setNativeKey ( const QString & key ) |
Class QWebPage:
| void | viewportChangeRequested () |
Class QNetworkReply:
| void | setFinished ( bool finished ) |
Class QElapsedTimer:
| qint64 | nsecsElapsed () const |
Class QGraphicsWebView:
| QPainter::RenderHints | renderHints () const |
| void | setRenderHint ( QPainter::RenderHint hint, bool enabled = true ) |
| void | setRenderHints ( QPainter::RenderHints hints ) |
Class QGraphicsGridLayout:
| void | removeItem ( QGraphicsLayoutItem * item ) |
Class QGraphicsLayout:
| bool | instantInvalidatePropagation () |
| void | setInstantInvalidatePropagation ( bool enable ) |
Class QStringRef:
| bool | contains ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | contains ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | contains ( const QStringRef & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | count ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | count ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | count ( const QStringRef & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | endsWith ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | endsWith ( QLatin1String str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | endsWith ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | endsWith ( const QStringRef & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | indexOf ( const QString & str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | indexOf ( QChar ch, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | indexOf ( QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | indexOf ( const QStringRef & str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | lastIndexOf ( const QString & str, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | lastIndexOf ( QChar ch, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | lastIndexOf ( QLatin1String str, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| int | lastIndexOf ( const QStringRef & str, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | startsWith ( const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | startsWith ( QLatin1String str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | startsWith ( QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| bool | startsWith ( const QStringRef & str, Qt::CaseSensitivity cs = Qt::CaseSensitive ) const |
| QByteArray | toAscii () const |
| QByteArray | toLatin1 () const |
| QByteArray | toLocal8Bit () const |
| QVector<uint> | toUcs4 () const |
| QByteArray | toUtf8 () const |
Class QNetworkConfigurationManager:
| void | configurationRemoved ( const QNetworkConfiguration & config ) |
Class QDBusConnection:
| QDBusConnection | connectToPeer ( const QString & address, const QString & name ) |
| ConnectionCapabilities | connectionCapabilities () const |
| void | disconnectFromPeer ( const QString & name ) |
| QByteArray | localMachineId () |
Class QAbstractProxyModel:
| virtual QModelIndex | buddy ( const QModelIndex & index ) const |
| virtual bool | canFetchMore ( const QModelIndex & parent ) const |
| virtual void | fetchMore ( const QModelIndex & parent ) |
| virtual bool | hasChildren ( const QModelIndex & parent = QModelIndex() ) const |
| virtual QMimeData * | mimeData ( const QModelIndexList & indexes ) const |
| virtual QStringList | mimeTypes () const |
| virtual void | sort ( int column, Qt::SortOrder order = Qt::AscendingOrder ) |
| virtual QSize | span ( const QModelIndex & index ) const |
| virtual Qt::DropActions | supportedDropActions () const |
Class QXmlStreamWriter:
| bool | hasError () const |
Class QDBusAbstractInterface:
| void | setTimeout ( int timeout ) |
| int | timeout () const |
Class QHelpSearchQueryWidget:
| void | collapseExtendedSearch () |
| void | expandExtendedSearch () |
| void | setQuery ( const QList<QHelpSearchQuery> & queryList ) |
Class QSslConfiguration:
| bool | testSslOption ( QSsl::SslOption option ) const |
Class QGLFramebufferObjectFormat:
| bool | mipmap () const |
| void | setMipmap ( bool enabled ) |
| bool | operator!= ( const QPlatformWindowFormat & a, const QPlatformWindowFormat & b ) |
| bool | operator!= ( const QVarLengthArray<T, Prealloc1> & left, const QVarLengthArray<T, Prealloc2> & right ) |
| const QPoint | operator* ( int factor, const QPoint & point ) |
| const QPoint | operator* ( double factor, const QPoint & point ) |
| const QPoint | operator* ( float factor, const QPoint & point ) |
| const QPoint | operator* ( const QPoint & point, int factor ) |
| const QPoint | operator* ( const QPoint & point, double factor ) |
| const QPoint | operator* ( const QPoint & point, float factor ) |
| bool | operator== ( const QPlatformWindowFormat & a, const QPlatformWindowFormat & b ) |
| bool | operator== ( const QVarLengthArray<T, Prealloc1> & left, const QVarLengthArray<T, Prealloc2> & right ) |
| Q_LIKELY ( expr ) | |
| Q_UNLIKELY ( expr ) |