[Qt-interest] [Mac] Paint to a specific CGContextRef?
Girish Ramakrishnan
girish at forwardbias.in
Thu Dec 10 16:17:31 CET 2009
Paul Colby wrote:
> Hi,
>
> This is one for the Mac/OSX experts.
>
> Is there some way that I can tell a Qt widget use a specific
> CGContextRef for painting?
>
AFAIK, no. But you can get the GCContextRef from any QWidget/QPixmap
using the internal but exported qt_mac_cg_context. You can pass this to
Flash and flash should paint on the widget.
Girish
P.S. I just blogged about Qt/WebKit and NPAPI at
http://blog.forwardbias.in/2009/12/flash-in-qgraphicsview.html
More information about the Qt-interest-old
mailing list