1 Qt 4.1.3 is a bug-fix release. It maintains both forward and backward
2 compatibility (source and binary) with Qt 4.1.0.
4 The Qt version 4.1 series is binary compatible with the 4.0.x series.
5 Applications compiled for 4.0 will continue to run with 4.1.
7 ****************************************************************************
9 ****************************************************************************
11 Meta Object Compiler (moc)
13 Configure / Compilation
14 Compile with NAS sound support enabled and no Qt 3 support.
15 Fixed some issues with resolving absolute paths when configuring
19 qt3to4 now adds the needed include directive for
20 qPixmapFromMimeFactory().
21 Added rule for QDeepCopy.
22 Improved handling of files with non-unix line endings.
25 Improved usability by letting the Find Icon dialog remember the last
27 Fixed preview of DataTime and Date types.
28 Generate correct .ui code when saving forms containing Q3DateEdit,
29 Q3TimeEdit, Q3ProgressBar and Q3TextBrowser.
30 Fixed cursor position when editing text in QListWidget and QComboBox.
31 Fixed code generation for custom widgets containing a QComboBox.
32 Fixed a bug that prevented the windowTitle property for QDockWidgets
33 from being designable.
34 Fixed problem where Designer would fail to reflect QTreeWidget column
36 Fixed potential assert when font size is specified in points.
37 Fixed potential crash when breaking the layout of an empty splitter.
38 Ensured that Designer saves the used pixmap function.
39 Fixed potential crash on 64-bit platforms.
40 Ensured that windows show when restarting after a crash.
41 Improved geometry saving with multiple monitors.
42 Fixed a potential crash when using QVBoxLayout with certain widget
44 Fixed a bug where breaking splitter layout would not work after
48 Assistant now sets the proper encoding attribute when saving files,
49 solving problems when viewing the page in some browsers.
50 Improved window placement on startup.
51 Improved performance of first-time keyword loading.
53 Qt Linguist / Internationalization
54 Improved window placement on startup.
55 Fixed problem where .ts files for Qt 3 .ui files would be grayed out.
58 Fixed code generating bug for forms in namepsaces preventing
59 connections from being made.
60 Split large generated strings to avoid compiler errors.
61 Fixed a bug causing QLabel's font not to be set when using uic3.
62 Fixed a dependency issue when .ui files are in a subdirectory.
63 Ensured that "uic3 -convert" will convert connections.
64 Ensured that uic3 will convert QDataTable and QSqlCursor to Qt3
68 Fixed a bug in the Tooltips example when moving the cursor from one
70 Fixed a bug in the FTP example which caused the Download button to be
71 incorrectly enabled/disabled.
72 Fixed a crash in the FTP example.
73 Made it easier to change the Arthur Widget properties in Designer.
74 Fixed indexing issues in the Spreadsheet demo.
76 ****************************************************************************
78 ****************************************************************************
83 - Fixed rendering of some GIF images.
84 - Popup and Tool widgets are now correctly blocked by sibling modal dialogs.
85 - Group-leader widgets are no longer blocked by non-child modal widgets.
86 - A parent modal dialog of a child modal dialog can no longer be brought on
88 - Made sure modal widgets are modal when opened on a closing parent.
89 - Fixed expose painting error when closing a child popup.
90 - Ensured that index widget pointers are maintained when a view is sorted.
91 - Ensured that closingDown() returns true when the application
92 objects are being destroyed.
93 - Fixed a potential crash in the PNG image handler.
94 - Improved stability of PDF font generation when embedding invalid fonts.
97 Fixed incorrect behaviour when using setExclusive(false).
100 Fixed placement when showing after being hidden.
101 Fixed issue where calling show() on a hidden Q3DockWindow would
102 make the dock window overlap the existing one.
105 Removed empty row at the bottom.
108 Fixed some input method issues.
111 Fixed a bug that prevented some Unicode HTML files from being
115 Ensured that toolbar separators are painted in all styles.
118 Fixed a crash when disabling the view while an item is being edited.
121 Fixed incorrect background color.
122 Fixed painting issues with disabled items.
123 Added support for tooltips.
126 Fixed a painting bug in the headers that occurred when a cell was
128 Ensured that checkbox backgrounds are filled.
129 Fixed issue where calling selectRow() would not deselect the current
130 row in SingleRow selection mode.
133 Fixed incorrect vertical text alignment.
134 Fixed issue where a header label would be lost after swapping two
138 Fixed listChildren() for the case when setProtocol() hasn't been
142 Fixed handling of dynamic "What's This?" texts.
145 Fixed a potential crash.
146 Fixed a bug preventing arrows from showing up in some cases.
149 Ensured that QAbstractButton::setPixmap() also sets the size of the
153 Fixed QStatusTipEvents for item views.
154 Fixed a crash occurring when removing a row in a slot connected to
156 Fixed issue where itemChanged() would be emitted twice.
157 Fixed issue where input methods would not work on editable itemviews.
158 Fixed potential crash.
159 Made sure the editor does not open when expanding and collapsing
160 branches in QTreeView. Note that this change introduces a system
161 dependent delay to differentiate between single and double clicks.
162 Made sure setIndexWidget() does not delete an old widget if one is
164 Fixed a bug causing fetchMore() to behave incorrectly with empty
166 Fixed an issue that sometimes caused tab order to be incorrect after
170 Fixed potential crash when connecting to local sockets on BSD
174 Only emit the stateChanged() signal when the state actually changes.
175 Improved performance.
181 Corrected escape of '&' in items.
182 Reset input context when showing the popup.
183 Fixed a missing update after model is reset.
184 Ensured that TextElideMode is respected.
187 Fixed incorrect values returned from sizeHintFromContents() for the
191 Fixed some painting issues when using CDE or Motif style.
194 Fixed bool values in prepared queries in the MYSQL driver.
195 Fixed use of stored procedures that returns a result set in MySQL
197 Fixed queries on tables with a LONG field type in Oracle databases.
198 Fixed reading of large blobs from an Interbase database.
201 Fixed infinite loop in rename() when renaming a directory without
205 Fixed possible assert on broken links.
206 Fixed a bug preventing links to "/" on Unix system from working
210 Corrected error reporting on flush() and close().
211 Fixed caching issues causing wrong file sizes to be returned in some
213 Ensure that write() will fail when trying to write to a full disk.
216 Fixed a bug that allowed selection of multiple files in
218 Ensured that the proper error message is given when deleting a
220 Fixed a bug preventing an update when changing the FileMode.
221 Added support to allow several new characters (such as @{},*~^) to be
222 used in dialog file filters.
223 Ensured that files are hidden when browsing in DirectoryOnly mode.
226 Fixed crash that occurred if an FTP session got deleted in a slot.
229 All addWidget() functions now invalidate the layout.
230 Fixed minimum size for layouts containing widgets that maintain
231 a height-for-width size policy.
234 Fixed some painting issues appearing on all styles except Windows XP.
235 Fixed keyboard handling if checkable.
238 Fixed a bug preventing tooltips from being shown.
239 Fixed a painting error occurring when the sort indicator was enabled
240 and the column width became smaller than the indicator width.
241 Fixed a usability issue when resizing small headers in a fixed-width
243 Ensured that the header has the correct size when the font changes.
244 Fixed a painting error that occurred when the header was hidden.
245 Fixed a painting error that occurred when the user activated the
246 context menu while pressing the left mouse key.
247 Fixed a bug giving the last section a resize cursor event though it
249 Icons in header views now respect the layout direction.
250 Added support for setting a pixmap.
251 Prevented views from deleting a view it does not own.
254 Fixed issue where setProxy() would only work for the first get()
258 Ensured that visible icons on QToolButtons and QMenus are updated
259 when the icon of a QAction changes.
260 Fixed issue where actualSize() would return a bigger size than the
264 Fixed writing to a PNG file when the alpha value is premultiplied.
265 Fixed a bug where dotsPerMeter was not preserved after a call to
267 Handle out of memory conditions gracefully.
270 Fixed return values for Qt 3 support members getch(), putch() and
274 Proper painting in inactive windows.
275 Improved hit detection for QTreeWidgetItem checkboxes.
277 - QItemSelectionModel
278 Emit currentChanged() when the current item is deleted.
279 Fixed a bug causing the selection to be lost when an item was
283 Added support for suffixes before library extensions.
286 Made sure QT_NO_CLIPBOARD is respected.
287 Fixed incorrect background color when disabled.
290 Fixed setRowHidden().
291 Made the decision to showing scrollbars independent of the previous
293 Ensured that setting the icon position programatically works as
297 Fixed a bug causing toString() to return the wrong day of the week in
301 Fixed a crash when deleting the widget returned by
302 QMainWindow::statusBar().
303 Fixed a bug causing wrong behavior when removing a QToolBar with
305 Fixed layout error when showing the status bar after the main window.
306 Fixed incorrect assert in QMainWindowLayout::dockWidgetArea().
307 Fixed a bug making it impossible to have a dock widget under two
308 others in the same dock widget area.
309 Fixed a regression preventing insertToolBar() from inserting a
310 toolbar before an existing toolbar.
311 Ensured that QDockWidget's maximumWidth() is honored.
312 Ensured that window menu shortcuts are available before the window is
316 Allowed setActiveAction() open a submenu, to be consistent with
318 Made it possible for the Alt key to be used to close a context menu.
319 Improved navigation behavior when using Home/End.
320 Improved navigation behavior when using up/down arrows on a menu with
322 Fixed crash when clicking on cleared or disabled submenus.
323 Ensured that only the currently highlighted submenu is visible.
326 Improved calculation of sizeHint().
327 Fixed a bug causing menu items after a spacer item to always appear
328 in the extension menu.
329 Changed activateItemAt() to behave more like its behavior in Qt 3.
332 Draw QSlider tick marks.
333 Fixed a bug preventing the focus frame background from being cleared.
336 Improved frame delay calculations.
339 Fixed a crash when calling disconnect() on the last connection.
342 Optimized drawing of dotted lines.
343 Fixed potential assert after calling setClipping(true).
346 Fixed a bug causing contains(QPoint) to return the wrong result in some
348 Fixed some painting issues with drawArc().
349 Improved performance of drawLine() and drawEllipse().
352 Fixed a bug that caused the wrong dash patterns to be drawn when
356 Fixed a DPI issue when drawing into a QLabel.
357 Made sure that the bounding rectangle is updated for all drawing
359 Improved stability when handling complex scenes.
360 Made sure SVG files saved by QPicture include namespace bindings in
364 Improved usability in QSlider by making the hit rectangle for mouse
366 Fixed animation of indeterminate progress bars.
367 Ensured that lines are drawn for the hierarchical relationships in
371 Optimized the size of PDF documents containing the same picture in
373 Ensured that systems with high resolution are correctly handled.
374 Fixed a bug preventing the setup() function from displaying the print
376 Improved positioning of tiled pixmaps.
379 Fixed a crash that occurred when opening a page setup dialog on a PDF
383 Made sure that flat push buttons paint their contents.
386 Ensured that the exit status is reset after a sub-process crash.
387 Fixed a bug causing the system to lock on X11 after calling
388 startDetached() 65536 times.
389 Enabled QProcess to be used outside the GUI thread.
392 Fixed problem where focusing the next child in a scroll area would
393 make the top-left part of the child scroll out of view.
396 Made it possible to use the "Default" registry entry on Windows.
398 - QSortFilterProxyModel
399 Fixed a crash that occurred when deleting rows.
400 Improved stability by checking the model index for validity.
403 Made sure that the column count is updated after calling
407 Made sure the font set with setFont() is actually used.
409 - QSqlRelationalTableModel
410 Fixed a bug where inserting using the OnManualSubmit edit strategy
411 failed in some cases.
412 Fixed removeColumn() for columns that contain relations.
415 Made the OnFieldChange edit strategy behave like OnRowChange when
419 Fixed a bug causing a focus change when calling removeWidget().
422 Fixed rendering into a QPicture.
423 Fixed issue where id attributes containing certain characters would
424 not render correctly.
427 Fixed rendering of pixmaps with alpha channels.
430 Ensured that non-collapsible children are respected.
432 - QSqlRelationalTableModel
433 Fixed handling of mixed-case field names for relations.
436 Fixed a bug preventing the value 'false' from being set on a field of
443 Ensured that currentChanged() is only emitted when the current index
447 Ensured that QTabWidget has the same behavior as QStackedWidget when
448 inserting a page at index <= currentIndex().
451 Fixed selection handling in situations after rows/columns have been
453 Made decision to show scrollbars independent of the previous
455 Fixed a bug causing mouse clicks to be lost.
456 Fixed potential assertion when hiding columns in QTableView.
457 Fixed potential crash if indexes are invalid and sections have been
461 Fixed drawing of icons.
464 Fixed detection of locales with the '@' modifier.
466 - QTextDocumentLayout
467 Made sure the right margin of a QTextBlock is filled with the
471 Fixed a bug causing setPlainText() to emit textChanged() three times.
472 Fixed an infinte loop triggered when calling setHtml() inside
474 Added support for pasting text with '\r' line feeds.
475 Fixed a bug causing tables loaded from HTML to be saved incorrectly.
476 Made it possible to delete images using the Backspace key.
477 Fixed some issues with justified text in combination with forced line
479 Improved stability when setting a null cursor.
480 Increased accuracy when moving text by drag and drop.
483 Fixed incorrect mouse cursor after right-clicking a link.
484 Fixed incorrect mouse cursor in read-only mode.
485 Fixed issue where arrow cursor would override custom cursors.
486 Fixed potential crash when inserting HTML.
487 Improved support for relative links.
488 Improved parsing of internal document anchors.
491 Fixed a bug in the whitespace handling.
494 Fixed a bug that caused itemChanged() to be emitted with a null
497 - QTreeWidgetItemIterator
498 Fixed incorrect assert caused by creating an iterator for an empty
502 Fixed potential crash when resizing a tool bar with certain types of
504 Fixed a bug causing hidden widgets to be shown when the toolbar is
508 Enable word breaking in rich-text tool tips.
511 Fixed a bug causing aboutToClose() to be connected to a NULL slot
512 after calling unsetDevice().
513 Fixed a bug causing read() or readLine() to sometimes return an empty
517 Fixed some drag and drop issues.
518 Fixed a bug where the check state of an item was unchanged after an
519 itemClicked() signal was emitted.
520 Made decision to show scrollbars independent of the previous
522 Fixed a bug causing horizontal scrolling when only vertically
523 scrolling should occur.
524 Fixed painting of parent-child hierarchy decorations.
525 Fixed scrollbar visibility bug.
526 Fixed branch indicator painting error in right-to-left mode.
527 Fixed painting issues when using reverse layout on hidden headers.
528 Fixed a bug preventing the view from being scrolled when column 0 was
530 Fixed a bug causing some custom index widgets to be incorrectly
534 Fixed selection handling in situations after sortItems() has been
538 Fixed issue where unbuffered sockets would continuously emit
542 Fixed behavior of setPort() when -1 is given as the port number.
543 setEncodedUrl() now escapes '[' and ']' after the host in tolerant
545 Made handling of IP encoding more consistent.
548 Fixed bug in covertFromUnicode() on big-endian machines.
551 Fixed handling of variants of type "QList<QVariant>".
554 Made sure that the application does not close if a widget with a
555 visible parent exists.
556 Fixed issue where scroll() would scroll child widgets in some cases.
557 Fixed painting issues when resizing very large child widgets.
558 Fixed a bug preventing setCursor() from working with platform-
562 Ensured that the correct position is set when maximizing a child with
564 Fixed MDI title bar text wrapping in Plastique style.
565 Fixed some painting issues when resizing child windows.
566 Improved accuracy when resizing child windows.
569 Improved parsing of entities.
571 Platform-Specific changes
572 -------------------------
576 - Ensured that the correct default font is used on Windows 2000 and later
577 versions. This also fixes issues with international characters on some
580 - Improved painting of rubber bands in Windows XP and Windows style.
582 - Calling showMaximixed() on a QDialog without minimize and maximize buttons
583 now behaves properly.
585 - Improved calculation of bounding rectangles for text.
587 - Fixed a bug making it possible to open multiple context menus using the
590 - Fixed writing of large files which failed on some systems.
592 - Optimized painting of ellipses.
594 - Fixed problem with release version of IDC.
596 - Fixed window state bug when restoring minimized and maximized windows.
598 - Fixed painting error on Windows XP style tabs in right-to-left mode.
600 - Fixed incorrect toolbar button spacing in Windows XP and Windows style.
602 - Fixed bug that caused QFontInfo::family() to return an empty string.
604 - Ensured that tool windows are now resizable by default.
606 - Improved precision for tablet coordinates.
608 - Improved probing and detection for OpenGL overlay mode.
610 - Improved the native look and feel of QComboBox.
612 - Improved appearance of QToolButtons with menus.
614 - Fixed issue where certain fonts would be incorrectly replaced when
617 - Fixed issue where minimized fixed-size dialogs would not respond to user
620 - Fixed issue preventing bitmap fonts from being drawn using a scaled
623 - Made sure that QMAKE_PRE_LINK is respected by qmake on Windows.
625 - Fixed a bug causing tab widget contents to move when resized in Windows XP
629 Fixed potential crash in Q3FileDialog when resolving shortcuts.
632 Fixed an issue where drawText() on a QPrinter would sometimes be
634 Fixed the behavior of drawEllipse() and drawLine() when used with
635 negative coordinates.
636 Fixed painting in OpaqueMode.
637 Fixed a bug preventing rectangles with negative coordinates from
638 being painted correctly by the raster engine.
641 Fixed a bug preventing proper interaction with Excel.
644 Fixed conversion of short* and char* output parameters.
647 Made sure that copy() returns false when the copy target already
651 Fixed crash that occurred when calling exists() on a invalid
653 Fixed absolute and canonical paths for files in the root directory.
656 Fixed a bug causing renderPixmap() to fail on 16-bit color depths.
659 Enabled loading of filenames with non-standard suffixes.
662 Added support for 'z' in time format strings.
665 Fixed setPageSize() to correctly update the page and paper
669 Made sure that QTextBrowser does not override
670 QApplication::setOverrideCursor().
673 Ensured that the platform specific icons provided by the system are
674 used when appropriate.
679 - Fixed a bug in QFontDatabase which made isFixedPitch() return true for
680 certain non-fixed-pitch fonts, like "Sans Serif".
682 - Correctly handle the .so file extension on HP/UX IA-64.
684 - Fixed a crash that could occur when clicking a mouse button while dragging.
686 - Improve QProcess resource usage by making sure it closes all unused pipes.
688 - Made QFontEngine honor the autohinter setting from FontConfig.
690 - Fixed a potential crash that could occur when drawing a large number of
694 Fixed missing update of window decorations.
695 Fixed assert when editing font family substitutions.
697 - Fixed X Error that occurred when closing applications using the Motif
700 - Ensured that -style command line arguments are respected when using
703 - Fixed issues with multiple painters on the same device.
705 - Improved backward compatibility for XCursors.
707 - Fixed a bug causing text to be clipped incorrectly when printed.
709 - Fixed issue where Qt::KeyPadModifier was not being set for non-numeric
712 - Ensured that files written by QSettings will only get user-readable
713 permissions by default.
715 - Ensured that QContextMenuEvent is also delivered when a popup menu is
718 - Added missing support for clipping of bitmaps on non-XRender systems.
720 - Fixed platform inconsistency with cosmetic pens.
722 - Fixed a potential crash when starting a QProcess for a non-existant
726 Improved stability of QPainter::setClipPath().
727 Fixed painting issues with transformed points drawn with an aliased
731 Fixed a bug in boundingRect().
732 Fixed a potential crash in the constructor when it is passed a zero
738 - Fixed issues with pasting of Japanese characters.
740 - Fixed a bug that made the close button unavailable on modal windows.
742 - Fixed icon rendering on x86 CPUs.
744 - Fixed painting of QBitmap into a QPixmap.
746 - Added the -framework and -F configure options.
748 - Fixed a bug where the menu bar would not show all items.
750 - Fixed several drag and drop issues.
752 - Fixed a bug that caused the font size to change when clicking checkable
755 - Fixed a crash that occurred when using a Qt-plugin in a non-Qt application.
757 - Fixed use of newlines in a QMessageBox.
759 - Fixed painting of QGroupBox without any text.
761 - Fixed rendering of Qt::FDiagPattern and Qt::BDiagPattern.
763 - Fixed building with -no-qt3support.
765 - Fixed painting of the sort indicator in item view headers.
767 - Fixed text placement in QGroupBox.
769 - Fixed icon placement in QPushButton when used with RTL scripts.
771 - Fixed painting of read-only line edit widgets.
773 - Fixed animation of the Composition Modes demo.
775 - Fixed painting of QSpinBoxes smaller than 25 pixels.
777 - Fixed a bug preventing the page ranges in the print dialog from being set.
779 - Fixed a bug causing QPrinter::pageSize() to return incorrect sizes.
781 - Fixed printer resolution setting.
783 - Improved quality of PDF output.
785 - Ensured that calling setDirtyRegion() from within dragMoveEvent() updates
786 item views correctly.
788 - Fixed a bug resulting in painting and performance issues for embedded
789 QGLWidgets when using MacMetalStyle.
791 - Fixed a bug that sometimes prevented widgets from being shown.
793 - Ensured that the correct number of tick marks are painted on sliders.
795 - Fixed issue where Qt::FramelessWindowHint widgets were not visible in
798 - Fixed a painting error that occurred when unchecking checkboxes.
800 - Fixed a bug that caused file dialogs and frameless windows to appear
801 outside screen bounds.
803 - Prevented windows from losing their shadows after using QRubberBand.
805 - Fixed a potential crash in QPixmap::copy() when given an area outside image
808 - Improved QToolButton arrow appearance.
810 - Fixed an issue causing QDateTime::toString(Qt::LocalDate) to return
813 - Improved performance of QPainter::drawImage().
815 - Fixed sometimes incorrect drawing with QPainterPath.
817 - Improved key translation for non-Latin keyboard layouts.
820 Fixed update issues when QGLWidgets are embedded in a QTabWidget.
823 isLibrary() now supports .dylib libraries with version numbers.
826 Fixed a platform inconsistency with isActiveWindow().
829 Fixed some painting issues with widgets that are not laid out.
830 Allow dragging of widgets in Designer when the toolbox is hidden.
831 Fixed a bug preventing Designer from being hidden using
837 - Added configure options to build decorations and mouse drivers as plugins.
839 - Lots of new documentation.
841 - Added support for 8 and 16 bit screens.
843 - Fixed a bug that could result in painting errors after setting a new
844 decoration with QApplication::qwsSetDocoration().
846 - New skins for QVfb provided in the X11 package.
848 - Fixed the transparent corners of the window decoration using the Plastique
851 - Removed dependency of shared memory when using QT_NO_QWS_MULTIPROCESS.
853 - Fixed input method focus change problems.
855 - Ensured that fonts are searched for using QLibraryInfo::LibrariesPath
856 instead of PrefixPath.
858 - Ensured that the smooth font flag is respected when parsing the 'fontdir'
861 - Fixed crash on systems where Helvetica font is not available.
863 - Reduced memory usage with large fonts.
865 - Added support for QIODevice::canReadLine().
867 - Ensured that the Qtopia Core data directory owner is checked against the
870 - Fixed appearance of the title bar font when the application font has not
873 - Ensured that the correct keycodes are generated for SysRq and PrtSc.
875 - Added support for transformed screens to QDirectPainter.
877 - Fixed issues with -title and -geometry command line arguments.
879 - Improved sound support.