[Qt-interest] newbie qt on macintosh question

Sergey Uspensky pgf368 at gmail.com
Mon Feb 2 13:11:50 CET 2009


Dear list!

Im developing an application for Mac OS 10.5 using Qt 4.4.

So I've found in Qt sources a function

     qt_mac_window_for(QWidget*)

which returns a WindowRef pointer for the Carbon window representing this
QWidget. And that works!!

My question is - are there any possibilities to do the opposite?

If I manually create window in Carbon API and have a WindowRef for it. Can I
cast it to (QWidget*) somehow?

Thanks In Advance,

Serg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090202/d3c631a5/attachment.html 


More information about the Qt-interest-old mailing list