Reputation: 153
I'm converting from qt4 to qt5. I had the following code:
mpDV = new QDeclarativeView(QDialog*);
... which worked perfectly.
I can't do this with QQuickView because it expects a QWindow* as argument.
Is there a quick work-around?
Thanks.
Upvotes: 0
Views: 380
Reputation: 153
sorry for posting, found an answer: There is a new function (tagged preliminary) called QWidget::windowHandle(), which does the trick.
Upvotes: 1