Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Getting Qt Main window GDHandle in MAC.
QtWS25 Last Chance

Getting Qt Main window GDHandle in MAC.

Scheduled Pinned Locked Moved Unsolved General and Desktop
cross platformmacos
2 Posts 2 Posters 312 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Islam123786
    wrote on 14 Nov 2019, 08:56 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Nov 2019, 20:08 last edited by
      #2

      Hi,

      Check the QWidget::winId.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      2/2

      14 Nov 2019, 20:08

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved