| 1 |
Qt 4.6 introduces many new features and improvements as well as bugfixes |
| 2 |
over the 4.5.x series. For more details, refer to the online documentation |
| 3 |
included in this distribution. The documentation is also available online: |
| 4 |
|
| 5 |
http://doc.trolltech.com/4.6 |
| 6 |
|
| 7 |
The Qt version 4.6 series is binary compatible with the 4.5.x series. |
| 8 |
Applications compiled for 4.5 will continue to run with 4.6. |
| 9 |
|
| 10 |
Some of the changes listed in this file include issue tracking numbers |
| 11 |
corresponding to tasks in the Task Tracker: |
| 12 |
|
| 13 |
http://www.qtsoftware.com/developer/task-tracker |
| 14 |
|
| 15 |
Each of these identifiers can be entered in the task tracker to obtain more |
| 16 |
information about a particular change. |
| 17 |
|
| 18 |
**************************************************************************** |
| 19 |
* General * |
| 20 |
**************************************************************************** |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
**************************************************************************** |
| 25 |
* Library * |
| 26 |
**************************************************************************** |
| 27 |
|
| 28 |
* [245219] Added QXmlQuery::setFocus(const QString &focus); |
| 29 |
|
| 30 |
**************************************************************************** |
| 31 |
* Platform Specific Changes * |
| 32 |
**************************************************************************** |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
**************************************************************************** |
| 37 |
* Important Behavior Changes * |
| 38 |
**************************************************************************** |
| 39 |
|
| 40 |
- The experimental Direct3D paint engine has been removed. The reason for |
| 41 |
this is that Nokia focuses on OpenGL for desktop hardware accelerated |
| 42 |
rendering. |
| 43 |
|
| 44 |
- When mixing OpenGL and QPainter calls you need to first call syncState() |
| 45 |
on the paint engine, for example "painter->paintEngine()->syncState()". |
| 46 |
This is to ensure that the engine flushes any pending drawing and sets up |
| 47 |
the GL modelview/projection matrices properly. |
| 48 |
|
| 49 |
- Graphics View has undergone heavy optimization work, and as a result of |
| 50 |
this work, the following behavior changes were introduced. |
| 51 |
|
| 52 |
a) QStyleOptionGraphicsItem::exposedRect now contains the item's bounding |
| 53 |
rectangle, and QStyleOptionGraphicsItem::matrix is uninitialized by |
| 54 |
default. You can enable an exact exposed rectangle and a correct matrix |
| 55 |
by enabling the flag QGraphicsItem::ItemUsesExtendedStyleOptions. |
| 56 |
|
| 57 |
b) QStyleOptionGraphicsItem::levelOfDetails is obsoleted and its value is |
| 58 |
always initialized to 1. Instead you can call |
| 59 |
QStyleOptionGraphicsItem::levelOfDetailFromTransform(const QTransform &) |
| 60 |
to determine the level of detail. |
| 61 |
|
| 62 |
c) QGraphicsView no longer calls QGraphicsView::drawItems(), and in turn |
| 63 |
QGraphicsScene::drawItems(), by default. You can get the old behavior |
| 64 |
back by enabling QGraphicsView::IndirectPainting. |
| 65 |
|
| 66 |
d) QGraphicsItem no longer calls itemChange() for position and |
| 67 |
transformation changes. If you want to receive notifications for changes |
| 68 |
to the item's position and transformation, you can set the flag |
| 69 |
QGraphicsItem::ItemSendsGeometryChanges (which is enabled by default by |
| 70 |
QGraphicsWidget and QGraphicsProxyWidget). |