1Qt 4.7.2 is a bug-fix release. It maintains both forward and backward 2compatibility (source and binary) with Qt 4.7.0. For more details, 3refer to the online documentation included in this distribution. The 4documentation is also available online: 5 6 http://qt.nokia.com/doc/4.7 7 8The Qt version 4.7 series is binary compatible with the 4.6.x series. 9Applications compiled for 4.6 will continue to run with 4.7. 10 11Some of the changes listed in this file include issue tracking numbers 12corresponding to tasks in the Qt Bug Tracker or the Merge Request queue 13of the public source repository. 14 15Qt Bug Tracker: http://bugreports.qt.nokia.com 16Merge Request: http://qt.gitorious.org 17 18**************************************************************************** 19* Library * 20**************************************************************************** 21 22QtCore 23------ 24 25 - QMutex 26 * [QTBUG-16115] Fixed deadlock when calling tryLock repeatedly. 27 - QStateMachine 28 * [QTBUG-14491] Fixed compilation on AIX 5.3 with gcc. 29 - QThread 30 * [QTBUG-15378] QThread::exec returaed immediately if QThread::exit had 31 been called when event loop was not running. 32 33QtGui 34----- 35 36 - Painting 37 * [QTBUG-14907] Fix OpenVG painting artifacts after restoreState(). 38 * [QTBUG-15320] QPainter::drawRect crashed when drawing a null QRectF 39 with OpenGL. 40 * [QTBUG-15693] Prevent crash in drawhelper code when the cpu has MMXEXT 41 but no SSE. 42 - QDoubleValidator 43 * [QTBUG-14935] With some locales, QDoubleValidator would not accept "C" 44 locale valid numbers. 45 - QFileDialog 46 * [QTBUG-17298] QFileDialog::getOpenFileNames didn't show any file. 47 - QGraphicsView 48 * [QTBUG-16063] Fix precision loss when querying micro focus rectangle 49 in QGraphicsView. 50 - QPainterPath 51 * [QTBUG-16377] Prevent QPainterPath::connectPath() returning incorrect 52 path, which caused OpenGL paint engine to crash. 53 - QTableWidget 54 * [QTBUG-15973] Resizinag a QTableWidget column where a cell contains a 55 QProgressBar made it crash. 56 - QTextDocument 57 * [QTBUG-15777] Fxied crash in QTextDocument::markContentsDirty. 58 - QTextLayout 59 * [QTBUG-15823] Fixed crash in QTextLayout when drawing full width 60 selection spanning multiple QTextLine's. 61 - QWidget 62 * [QTMOBILITY-645] Send WinIdChange event when winId is set to zero. 63 The window handle of a native widget may be set to zero in two 64 situations: (i) temporarily, during reparenting and (ii) during 65 widget destruction. Previously, no WinIdChange event was sent in 66 either of these cases; now, it is sent in both cases. 67 68QtNetwork 69--------- 70 71 - Bearer Management 72 * [QTBUG-15276] Fixed possible crash when parsing new connection. 73 - QUrl 74 * [QTBUG-16425] QUrl::setUrl() did not call detach(). 75 76QtQuick 77------- 78 79 - [QTBUG-14374] Fixed broken alignment of rich text. 80 - [QTBUG-14727] QML Text element did not play nice with transformations. 81 - [QTBUG-14761] Fixed memory leak in QDeclarativeComponent. 82 - [QTBUG-14830] Fixed crash when adjusting width inside onWidthChanged. 83 - [QTBUG-15710] Ensure header is considered when positioning content with 84 snapping. 85 - [QTBUG-16365] When using a PathView with a VisualDataModel which in turn 86 used a Tree model (DirModel, for example), nothing was shown. 87 - [QTBUG-16769] QML BorderImage failed if .sci file contained a URL. 88 89QtScript 90-------- 91 92 - General 93 * [QTBUG-17166] Fix ScopeChainNode memory leak in JavaScriptCore. 94 - QScriptContext 95 * [QTBUG-17137] Fix crash when generating backtrace involving a 96 built-in (ECMA) function. 97 - QScriptEngine 98 * [QTBUG-16987] Ensure QScriptProgram objects are invalidated 99 when engine is destroyed. 100 * [QTBUG-16828] Fix alignment issue causing crashes on platforms 101 with only 4-byte-aligned malloc'ed memory (e.g. Symbian debug 102 builds). 103 * [QTBUG-15144] Fix GC-related crash in QScriptValue::setData(). 104 * [QTBUG-15079] Fix crash when QScriptClass property getter 105 returns an invalid value. 106 * [QTBUG-13440] Fix bug that caused Math.random() not to 107 produce random values. 108 - QScriptValue 109 * [QTBUG-14801] Fix crash in QScriptValue::construct() when 110 the function throws a non-Object value. 111 112QtSql 113----- 114 115 - [QTBUG-14132] Fix errors in Oracle (xe) stored procedures with bind 116 variables. 117 - [QTBUG-14831] Fix regression in dynamic sorting of a QSortFilterProxyModel 118 on a QSqlTableModel with OnManualSubmit. 119 - [QTBUG-17076] Fix plugins/sqldrivers/oci compile error when using 120 QT_NAMESPACE. 121 122 123**************************************************************************** 124* Platform Specific Changes * 125**************************************************************************** 126 127Qt for Linux/X11 128---------------- 129 130 - [QTBUG-15008] Fix broken prefix setting in configure when EPOCROOT shell 131 variable is set. 132 133Qt for Windows 134-------------- 135 136 - QtQuick 137 * [QTBUG-16885] QDeclarativeEngine::addImportPath() did not work if the 138 drive letter is in lowercase. 139 * [QTBUG-17360] Make sure $QTDIR/plugins/qmldebugging/tcpserver.dll is 140 found in windows release builds. 141 142Qt for Mac OS X 143--------------- 144 145 - [QTBUG-13772] Returning form fullscreen mode causes assertion failure. 146 - [QTBUG-14023] Added missing plugins to debug-libs package. 147 - [QTBUG-14420] Switching from an application with undocked widgets hid the 148 application. 149 - [QTBUG-15638] Fixed incorrect QComboBox drop-down menu Z-ordering. 150 - [QTBUG-15666] Fixed crash when closing QFontDialog::getFont() dialog before 151 its event loop finished. 152 - [QTBUG-16279] Fixed deadlock in QSyntaxHighlighter::highlightBlock. 153 154Qt for Symbian 155-------------- 156 157 - Multimedia 158 * [QTBUG-17040] Prevent menu and native title pane area popping up when 159 setting fullscreen mode off during video playback. 160 - Packaging changes 161 * [QTBUG-17399] Remove sqlite3 from Qt SIS for S60 3.2 and 5.0 to allow 162 Nokia Content Signing, which doesn't permit sis files to have other 163 sis files embedded inside. 164 - Paging changes 165 * [QT-3503] Remove PAGED keyword from all Qt-based binaries for 166 MMP-based build systems (abld, SBSv2 (a.k.a. Raptor)). 167 This changes the code paging field in the Symbian (E32Image) header 168 from "paged" to "default". Thus it is left to the configuration 169 of the particular device whether paging is used for the binary or 170 not. All devices that support code paging should have it turned 171 on (the value is stored in the HAL, so can be checked using eg. 172 fshell); data paging may or may not be turned on depending on the 173 device characteristics. Leaving both code and data paging as 174 "default" means that any limitations in the device (eg. around 175 flash wear) can be controlled by that device by disabling the 176 appropriate types of paging rather than being forced by the binary 177 (which may be deployed to several different devices with different 178 characteristics). 179 - Phonon MMF backend 180 * [QTBUG-11436] Added a MediaObject property which allows the client to 181 specify which Internet Access Point should be used for streaming. 182 - QApplication 183 * [QTBUG-15915] Fix crash when creating more than one QApplication in single 184 test case. 185 * [QTBUG-16065] QApplication object with QApplication::GuiServer type caused 186 crash on Symbian devices. 187 - QDesktopWidget 188 * [QTBUG-16095] Resize event for QDesktopWidget was sent too early. 189 - QDialog 190 * [QTBUG-16277] Fix fullscreen/Maximized dialog misplacement in Symbian. 191 * [QTBUG-16110] QMessageBox softkeys were dimmed when application returned 192 to foreground. 193 - QEventDispatcherSymbian 194 * [QTBUG-16380] Fix leaking of RTimer handles. 195 - QFileDialog 196 * [QTBUG-16204] Fix using QFileDialog statics in Symbian. 197 - QFontDatabase 198 * [QTBUG-16514] Avoid collision of application fonts. 199 - QGraphicsView 200 * [QTBUG-16932] Fix rendering errors on QGraphicsView with OpenVG engine. 201 - QLineEdit 202 * [QTBUG-16238] Fix one character displacement for cursor in line edits. 203 - qmake & mkspecs 204 * [QT-4193] Only add ICON for application projects in symbianpkgrules.pri 205 * [QTBUG-13159] Allow pkg_prerules and pkg_postrules to be targeted to separate 206 files. 207 * [QTBUG-13367] Make default application deployment removable & added .flags 208 modifier support for DEPLOYMENT items in Symbian. 209 * [QTBUG-14280] Implement support for DEPLOYMENT.display_name in Symbian. 210 * [QTBUG-13917] Localize .loc and .pkg content based on TRANSLATIONS. 211 * [QTBUG-15159] Use include(original mkspec) instead of copying of mkspec to 212 default. 213 * [QTBUG-15393] Resolve EPOCROOT in qt.conf using same logic as in .pro. 214 * [QTBUG-15501] Fix symbian-mmp.conf include path. 215 * [QTBUG-15539] Use parent class function to generate Makefile headers. 216 * [QTBUG-14472] Add NetworkServices capability automatically for network apps. 217 * [QTBUG-14736] Add libinfix support for QML plugins in Symbian. 218 * [QT-4375] Fix incorrect file name case for OpenGL libraries in 219 symbian.conf. 220 * [QTBUG-16172] Use relative include instead of absolute in default 221 qmake.conf. 222 * [QTBUG-16221] Fix libinfixed usage in Symbian when def files are used. 223 * [QTBUG-16261] Fix infinite loop in qmake when reading malformed .ts files. 224 * [QTBUG-16298] Ignore static_and_shared in Symbian builds. 225 * [QTBUG-16477] Fix compile error when QT_NO_BEARERMANAGEMENT is defined. 226 * [QTBUG-13769] Generate freeze targets in Symbian. 227 * [QTBUG-16691] Remove toolcheck from generic clean targets for 228 symbian-sbsv2. 229 * [QT-4476] Fixed UTF-8 application names in device application menu. 230 * [QTBUG-16753] Improved QMAKE_POST_LINK support in symbian-sbsv2. 231 * [QTBUG-16881] Fix QMAKE_POST_LINK for targets with special characters. 232 * [QTBUG-16888] No longer replace dash and dot in TARGET with underscore. 233 * [QTBUG-17187] Ensure that package generated against Symbian^3 SDK has no 234 Symbian^1 platforms as dependencies. 235 * Fix partial upgrade package UID for libinfixed Qt. 236 * Cleaned up sis_targets.prf. 237 - QNetworkProxyFactory 238 * [QTBUG-13857] Added systemProxyForQuery() for Symbian, allowing 239 network proxies configured on the device to be used by applications. 240 - QPaintEngine 241 * [QTBUG-16008] Fixed broken constant alpha blending on ARMV6. 242 * [QTBUG-16240] Fix blurry text in word-wrapped, center-aligned text items 243 with OpenVG. 244 - QSystemSemaphore 245 * [QTBUG-16615] Fix QSystemSemaphore handle management issues in Symbian. 246 - qtmain.lib 247 * [QTBUG-14735] Use qtmain.lib to provide entry point for all applications. 248 - QtQuick 249 * [QTBUG-15405] QML Plugins were not loaded when installed on different 250 drives. 251 - QtScript 252 * [QTBUG-14293] Enhanced JavaScript heap allocator. 253 * [QTBUG-15800] Creating QScriptEngine on the heap caused app crash. 254 * [QTBUG-15847] Add compiler optimizations. 255 * [QTBUG-16685] Fix crash in JavaScript stack allocator. 256 - QWidget 257 * [QTBUG-16578] In cases where the widget was created from the event loop 258 instead of main(), the middle three softkeys would not get the right 259 visibility and would leave a "hole" in the application where one could 260 see what was beneath it. 261 * [QT-4416, QTBUG-17288] On devices which lack support for transparency 262 in EGL surfaces, setting Qt::WA_TranslucentBackground on a widget 263 whose windowType() is Qt::Window causes that widget to be rendered 264 using the raster graphics system. 265 - Tool scripts 266 * [QTBUG-13886] Disallow patching capabilities of executables. 267 * [QTBUG-13891] Add Location as self signable capability in patch_capabilities.pl. 268 * [QTBUG-15561] Only patch package content that is necessary for self-signing. 269 * Fix epocroot handling in createpackage.pl script. 270 * Unify epocroot usage in createpackage and patch_capabilities scripts. 271 272**************************************************************************** 273* Tools * 274**************************************************************************** 275 276 - qmake 277 * [QTBUG-14357] Make qmake to pass all UTF-8 characters unchanged through parser. 278 279