On 10/03/2012 11:29 AM, Oleg Shparber wrote: > See QQuickView - http://doc-snapshot.qt-project.org/5.0/qquickview.html > > On Wed, Oct 3, 2012 at 7:54 AM, Alexander Akulich > <akulichalexan...@gmail.com <mailto:akulichalexan...@gmail.com>> wrote: > > Hi all. > Is there any replacement for QDeclarativeView in Qt5? If not, is it > planned in future releases? > How to port large Qt4 widget-based application with few Qt Quick > scene and use Qt Quick 2?
For now you'll need to create your own QWidget that creates a QQuickView as a child of the QWidget or top level window's windowHandle(). The resizeEvent() etc should position the QQuickView based on the QWidgets geometry. Not sure if event forwarding is necessary or if the QQuickView will automatically get the events. Hopefully something like this (a class QWindowProxy or similar inheriting QWidget) can become a part of the API at some point. -- Samuel _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest