1 2Qt 2.2.1 is a maintainance release. It keeps backward binary compatibility 3with Qt 2.1 and both forward and backward source compatibility with Qt 2.2.x. 4 5Qt 2.2.0 had a binary compatibility problem with the following: 6 7 bool QRect::contains( const QRect &r, bool proper=FALSE ) const 8 9Qt 2.2.1 corrects this. Programs compiled with 2.1.x now continue 10running with 2.2.1. Programs compiled with versions other than 2.2.0 11may not run with 2.2.0, so upgrading to 2.2.1 is additionally important. 12 13 14**************************************************************************** 15* General * 16**************************************************************************** 17 18- Various compilation problems on particular platforms fixed 19 20- Many improvments in QThread. More platforms supported 21 (e.g. HPUX 11.x), uses native threads on Solaris rather than 22 compatibility posix threads 23 24- A few newly discovered memory leaks and free memory reads fixed 25 26- As usual, many minor bugfixes, too small to be mentioned here. 27 28 29**************************************************************************** 30* Designer * 31**************************************************************************** 32 33- in KDE mode: don't show all KDE widgets in the toolbars, since we do 34 not have icons for them (yet). They are accessible through the menu 35 structure, though. 36 37- Introduced concept of a global /etc/designerrc and a templatePath 38 for the sake of Linux Standard Base (LSB) and the way Linux 39 ditributors like to package the Qt Free Edition. 40 41- Support for tab names in a QTabWidget, and page names in a QWizard. 42 43- Support for button IDs in a button group, makes it possible to utilize 44 one single slot for all buttons in a group. 45 46**************************************************************************** 47* Library * 48**************************************************************************** 49 50QClipboard: X11 only: fixed occasional crashes, possibly corrupted 51 list of provided types and hangups of several seconds under 52 certain circumstances. 53 54QFileDialog: Fixed update when renaming a file to an existing file 55 Unix only: Reset error status after attempting to read an 56 empty file 57 Fixed magical resetting of the "Open" label 58 Fixed duplicate entries in the history combobox 59 60QFont: Fixes for Hewbrew, Arabic and Thai encodings 61 Added support for Ukrainian encodings 62 X11 only: loading fonts for a locale other than the 63 current now possible (allows displaying japanese characters 64 in a latin1 application without relying on the existence of 65 a unicode font) 66 67QHeader: removing labels fixed, important for QTable and QListView 68 69QIconView: drawing problem with missleading font metrices and 70 bounding rectangles fixed 71 72QInputDialog, 73QMessageBox: use the main widget's or parent's icon if available 74 75QLayout: synchronize the behaviour of sublayouts and subwidgets with 76 layouts. 77 78QLineEdit: Update cursor position if QValidator::fixup() truncates the 79 string 80 81QMainWindow: Fixed calculated minimum size. Sometimes, the minimum width 82 of the central widget was disregarded. 83 84QMenuBar: Sizing fixed for frameless menubars in toolbars in 85 Motif-based styles 86 87QMotifPlusStyle: correct drawing of triangular tabs 88 89QMovie: keep frameImage() during EndOfMovie signal 90 91QDom: add comments when reading a xml file into the dom 92 93QPrinter: MS-Windows only: Fixed invalidation when setup dialog was 94 cancelled 95 96QSgiStyle: Small drawing problem with QTabBar fixed. 97 Fixed drawing of special prefix in menu items 98 99QSizePolicy: setHeightForWidth() was broken, works now 100 101QTextCodec: significant speedups for latin1 conversion 102 103QTextStream: small speed improvements for readLine() 104 Added codec for ukrainian (koi8-u) encoding 105 106QWheelEvent: Support for the MSH_MOUSEWHEEL extension on MS-Windows 95 107 108QWidget: X11 only: Fixed possible mouse lock-ups when re-entering 109 the event loop on mouse events for widgets of type 110 WType_Popup. 111 X11 only: set input context when setting the active 112 window 113 X11 only: when dialogs were closed, the main window looked 114 like it lost focus with some window managers. This has been 115 fixed now. 116 117QWidgetStack: potential flicker issue fixed 118 119QWorkspace: normalize minimized children when they get focus 120 removed occasional flashing (e.g. when maximizing child 121 windows) 122 Look and feel adjustments to emulate MS-Windows even 123 closer 124 Documented that the active window can be 0 if there is no 125 active window 126 Slightly modifed the button decorations to be more general 127 and less KDE2 specific 128 129 130**************************************************************************** 131* Changes that might affect runtime behavior * 132**************************************************************************** 133 134QLayout: 135 136We synchronized the behaviour of sublayouts and subwidgets with 137layouts. This shows great effect in the designer, were you usually 138operate on container subwidgets in the design phase, but get a 139complete layout in the preview mode or the generated code. For 140example, the influence of a spacer item on a sublayout's size policy 141has been reduced. The modifications may slightly affect the layout of 142some dialogs. 143 144 145**************************************************************************** 146* Qt/Embedded-specific changes * 147**************************************************************************** 148 149- Rotated displays & fonts 150- QCOP, a simple interprocess messaging system 151- Threading support 152- Auto-detected mouse 153- VGA16 support 154- Improved thick lines 155- Optimize some double-painting 156- Allow setting of custom 8bpp colors: QApplication::qwsSetCustomColors() 157- Fix masked widget drawing and clicking 158- Fix mouse grabbing for popups 159 160 161