Qt 4.6.1 is a bug-fix release. It maintains both forward and backward compatibility (source and binary) with Qt 4.6.0. For more details, refer to the online documentation included in this distribution. The documentation is also available online: http://qt.nokia.com/doc/4.6 The Qt version 4.6 series is binary compatible with the 4.5.x series. Applications compiled for 4.5 will continue to run with 4.6. Some of the changes listed in this file include issue tracking numbers corresponding to tasks in the Qt Bug Tracker, the (now obsolete) Task Tracker, or the Merge Request queue of the public source repository. Qt Bug Tracker: http://bugreports.qt.nokia.com Task Tracker: http://qt.nokia.com/developer/task-tracker Merge Request: http://qt.gitorious.org **************************************************************************** * General * **************************************************************************** New features ------------ - SomeClass, SomeOtherClass * New classes for foo, bar and baz Optimizations ------------- - Optimized empty QUrl creation * [QTBUG-4030] Empty QUrls no longer allocate memory now * See list of Important Behavior Changes below **************************************************************************** * Library * **************************************************************************** QtCore ------ - QFile * Improve performance of getting the canonical filename on Linux and Symbian by using realpath() system call * Avoid stat() when opening a file - QLibrary and QPluginLoader * Do not look at the Qt patch-level version embedded in plugins' buildkeys when trying to determine if the plugin is compatible - QProcessEnvironment * [QTBUG-6701] Ensure we don't crash in operator== - QTextEncoder * [merge request 399] QTextEncoder::fromUnicode as QT3 support member - QXmlStreamreader * [merge request 1926] Fix parsing of DTDs that contain empty markup declarations QtGui ----- - QApplication * [QTBUG-6654] Fix crashes when deleting QWidgets in touch event handlers. - QPixmap * load() and loadFromData() can now support compressed GL textures in the DDS, ETC1, PVRTC2, and PVRTC4 formats if the OpenGL graphics system is active and the appropriate extensions are present in the GL implementation. - QGraphicsObject * 'id' property was removed. Use the 'objectName' property instead. - QGraphicsScene * [QTBUG-6654] Fix crashes when deleting QGraphicsItems in touch event handlers. QtDBus ------ - QDBusConnection * [QTBUG-5979] Fixed the signal-delivery mechanism to update correctly when the sender name changes/appears on the bus. * [QTBUG-7041] Fixed marshalling of booleans in release mode. * [QT-2307] Fixed calls with the QDBus::BlockWithGui mode. - QDBusInterface * Made it continue working even when the remote object introspection fails. - QDBusInterface and qdbuscpp2xml * [QTBUG-5563] Fixed an issue with generating annotations in signals - QDBusPendingReply and QDBusReply * [QTBUG-6571] Fixed a crash that would happen if you tried to make a call with a disconnected QDBusConnection QtMultimedia ------------ - QAudioOutput * [Merge request 418] Fixed compilation the example provided for QAudioOutput::start QtNetwork --------- - QNetworkAccessManager * HTTP: Smaller improvements * HTTP: Send our locale with the HTTP request * HTTP: Start Accept-language and Authorization header with capital letter * HTTP: Fix caching algorithm, matching RFC 2612 and the documentation * HTTP [QTBUG-7060]: Fix an issue with headers like "private, max-age=300" * file: Introduce special subclass for higher performance with file:// URLs - QTcpSocket * [QTBUG-5799] Fix waitForConnected() on Windows - QNetworkProxyFactory * Fixed systemProxyForQuery(), it could sometimes return invalid empty list on Windows - QNetworkCookieJar * [QTBUG-5815] do not check paths when accepting cookies - QHostInfo * Use 5 parallel threads for host lookup instead of 1 QtOpenGL -------- - QGLContext * bindTexture(QString) now supports DDS, ETC1, PVRTC2, and PVRTC4 compressed textures if the appropriate extensions are present in the GL implementation. QtWebKit -------- - Fixed user agent string on Symbian (webkit.org/b/31961) - QWebInspector: Don't disable when hiding (webkit.org/b/31851) - Fix JavaScript prompt behaviour for empty/null strings (webkit.org/b/30914) - Fixed lastIndexOf() on Symbian (webkit.org/b/31773) - Fixed crash with Flash on Windows with MinGW - Fixed wrapping of QObjects with recurring identity (webkit.org/b/31681) - Fixed compilation with ICC - Fixed assertion when dragging SVG images (webkit.org/b/32511) - Added the framecapture example to the default build (merge request 2235) QtScript -------- - foo * bar QtSql ----- - foo * bar QtXml ----- - foo * bar Qt Plugins ---------- - foo * bar Third party components ---------------------- - Updated foo to version 2.3.9. - Updated bar to the latest version from baz.org. **************************************************************************** * Platform Specific Changes * **************************************************************************** Qt for Unix (X11 and Mac OS X) ------------------------------ - [QTBUG-6755] Ensure we don't call select(2) with a negative timeout if the timer expires during timeout recalculation. - Added mkspecs for Sun CC that enable -library=stlport by default, to restore STL capability with that compiler. - [QTBUG-6576] Fixed compilation on HP-UX 11.11 - [QTBUG-6961] Fixed compilation on HURD Qt for Linux/X11 ---------------- - QGuiEventDispatcherGlib (internal class) * Fix regression introduced in 4.6.0 that could cause X11 event processing to starve timer events. - QFileSystemWatcher * [QTBUG-4840] Fix memory leak in the dnotify implementation. - QIcon * [QTBUG-6121] Fixed a problem causing svg-based icon themes to look fuzzy. - QGtkStyle * [QTBUG-6484] Ensure that gtk-enable-mnemonics is respected. Qt for Windows -------------- - QAtomicPointer * [QTBUG-6079] Fix compilation for 64-bit Windows targets. - QEventDispatchWin32 (internal class) * [QTBUG-6083] Fix a performance regression introduced in 4.6.0 that would cause all Qt posted events to be sent at 15-16ms intervals (instead of as quickly as possible). - Vista/XP styles * [QTBUG-6271] Fixed a compatibility issue with MDI windows in certain non-standard themes. Qt for Mac OS X --------------- - [QTBUG-6973] Fixed a memory leak when using QWidget::setWindowIcon() in carbon. - [QTBUG-5186] Fixed a bug which caused drag and drop icons to show incorrectly. - [QTBUG-6636] Fixed a crash due to stack overflow in QColorDialog on cocoa. - [QTBUG-6378] Fix a text cursor rendering bug. - [QTBUG-6636] Fixed a crash when calling removeToolBar on Mac native toolbars using cocoa. - [QTBUG-5613] Fixed a bug where the application refued to quit when showing a single modal dialog. - Gestures are now available for the Carbon port also when building Qt against SDK < 10.6 Qt for Embedded Linux --------------------- - DirectFB -------- - Qt for Windows CE ----------------- - Qt for Symbian -------------- - QApplication * [QTBUG-6098] Added a flag to avoid construction of application panes. - Other: * [QTBUG-4990] Rewrote most of the regular pointer handling. **************************************************************************** * Tools * **************************************************************************** - Designer * [QTBUG-6863] Fixed static linking on Mac. * [QTBUG-6760] Fixed display of action shortcut in action editor. * [QTBUG-6505] Fixed handling of QHeaderView properties. * [QTBUG-5335] Fixed handling of layout margins of custom containers. - uic * [QTBUG-5824] Fixed code generation to generate a call to QMainWindow::setCentralWidget() for promoted widgets as well. - qdoc3 * bar - Linguist * baz **************************************************************************** * Important Behavior Changes * **************************************************************************** - Phonon * Include headers have been changed. The only official method for including Phonon headers is or . This change was necessary because of frameworks on Mac. Compatibility is provided for includes, but is not guaranteed to work. Including and is not supported.