Em Quarta-feira 02 Dezembro 2009, às 18:28:55, ext Henk Jan Priester escreveu: > Promiment at the top of the changelog: > > 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. > > I don't know what the Troll's define with binary compatibility but > working 4.5 applications > are not longer working with 4.6 without modifying and recompiling. > At least 2 changes made in QGraphicsView: > - drawItems not longer virtual
Hi Henk
I don't see that. It's still virtual.
From qgraphicsview.h:
virtual void drawItems(QPainter *painter, int numItems,
QGraphicsItem *items[],
const QStyleOptionGraphicsItem options[]);
> - levelOfDetails not set
This must be from the optimisation work. If it is, it's an intentional change.
See the changelog:
- Graphics View has undergone heavy optimization work, and as a result of
this work, the following behavior changes were introduced.
b) QStyleOptionGraphicsItem::levelOfDetails is obsoleted and its value is
always initialized to 1. Instead you can call
QStyleOptionGraphicsItem::levelOfDetailFromTransform(const QTransform &)
to determine the level of detail.
c) QGraphicsView no longer calls QGraphicsView::drawItems(), and in turn
QGraphicsScene::drawItems(), by default. You can get the old behavior
back by enabling QGraphicsView::IndirectPainting.
> break our applications.
>
> So binary compatiblilty means if it works lucky you and if it don't
> work read the full changelog
> and modify the code.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Development Frameworks
Sandakerveien 116, NO-0402 Oslo, Norway
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
