[Development] can I put a QWindow in a QWidget? or vice-versa?

Alan Ezust alan.ezust at gmail.com
Tue Sep 11 01:38:44 CEST 2012


I am porting a Qt4 app that has a QMainWindow and a bunch of widgets
in a layout, one of them
being a QDeclarativeView.

I thought I'd try putting a QQuickView in its place but I am wondering
what to pass to its constructor arguments,
(it can't have a widget as a parent)...
or how to add it to a QLayout since it does not derive from QWidget.

Are there examples of how to mix the two in a single rectangular area?



More information about the Development mailing list