Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0 Beta 1
-
Qt3D-1.0 for Qt 4.8.1 MSVC Release
--> QGlView was usable on top of container widget
qt-windows-opensource-5.0.0-beta1-x86-offline
--> QGlView is not usable on top of container widget anymore
-
64134181db034055dbcd7dfacff087abdb29d591
Description
Because QGLView inherits QWindow now (and not QGLWidget as it does before) it can't be used on QDockWidget, QTabWidget, QStackedWidget or any other container widget anymore. (QDockWidget::setWidget() expects a QWidget as parameter). So one possible solution might be to give the container classes overloaded methods to accept QWindow derived classes, e.g.
QDockWidget::setWidget/setWindow(QWindow * window);
QTabWidget::addTab(QWindow * page, const QString & label);
etc.
That might be the same problem as described in
https://bugreports.qt-project.org/browse/QTBUG-25643
but QGLView isn't explicitly mentioned there.
Attachments
Issue Links
- is replaced by
-
QTBUG-25643 Qt Quick 2 cannot co-exist with widgets
- Closed