Getting Qt Main window GDHandle in MAC.



  • I am using qt on MAC. The requirement is to have a static library for rendering an image. I have written library code using AGL which is building sucessfully.

    The library expects a GDHandle of the qt window to render the image. I am unable to identify a way to find GDHandle of qt window.

    Anything else equivalent to GDHandle can also be used, this is upto me to design but the rendering has to be done using an external static library.

    Please advise.


  • Lifetime Qt Champion

    Hi,

    Check the QWidget::winId.


Log in to reply