[Qt-interest] newbie qt on macintosh question
Richard
richardmg at trolltech.com
Mon Feb 2 13:46:22 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*)
>
If you wan't to use the public API, you could also do:
HIViewGetWindow((HIViewRef)myWidget->winId());
> 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?
>
No, but you might find the following interresting:
http://doc.trolltech.com/main-snapshot/qmacnativewidget.html
-Richard
More information about the Qt-interest-old
mailing list