[Interest] QWindow::fromWinId - argument type on platform OS X

Roland Winklmeier roland.m.winklmeier at gmail.com
Tue Jan 7 22:26:47 CET 2014


Hi all,

I have a quick question about the usage of the static method
QWindow::fromWinId. What exactly do I have to pass to the application to
make it work? I figured it already out for windows and linux/xcb, but I'm
puzzled about OS X.
My first guess was it is the cocoa window ID, but passing it made the
application crash immediatly. After that I had a look into the cocoa QPA
plugin and it casts the WId to a NSView pointer. The guys in #macdev said
this will probably never work.

So can anybody explain me, how this is working on OS X?

Thanks in advance :)

Cheers Roland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140107/bde65b4c/attachment.html>


More information about the Interest mailing list