Coda Highland wrote:

> Well, just to bring up a simple example,
> QGraphicsScene::itemAt(QPoint) and friends are deprecated as recently
> as Qt 4.6 and I'm sure people still use it even in 4.7 because the
> alternative isn't obvious. Will this deprecated version be preserved
> in Qt5? Will the API be preserved but the behavior change?


This has not been decided yet, but i would see something like:

#if QT_DEPRECATED_SINCE(4,8)
  QT_DEPRECATED inline void oldFunction() { newFunction(); }
#endif


And by putting the right defines in your profile, you would get the deprecated 
functions or not.

_______________________________________________
Opengov mailing list
Opengov@qt-labs.org
http://lists.qt-labs.org/listinfo/opengov

Reply via email to