我想在一些小部件布局中插入QQuickView到我的旧qt4应用程序.如何在单个应用程序中混合QWidget和QWindow?
有没有例子?
解决方法
这在Qt 5.1中已经修复.引用[1]
To remedy this problem,Qt 5.1 introduces the function QWidget::createWindowContainer(). A function that creates a QWidget wrapper for an existing QWindow,allowing it to live inside a QWidget-based application. Using QQuickView or QOpenGLContext together with widgets is now possible.
[1] http://blog.qt.digia.com/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/