[SOLVED] Get NSView from a QQuickWindow
Is it possible, given a QQuickWindow, to retrieve the platform specific handle to the window? So on Mac OSX, a NSView?
Thanks for any help.
You can use "QWindow::winId":http://qt-project.org/doc/qt-5/qwindow.html#winId.
If I'm not mistaken (not a mac guy) you can cast that to NSView*.
Ok, I will try.
Thanks a lot! I will let you know.
Some news. It worked perfectly! Thanks.