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.
Forum Updated to NodeBB v4.3 + New Features

Getting Qt Main window GDHandle in MAC.

Scheduled Pinned Locked Moved Unsolved General and Desktop
cross platformmacos
2 Posts 2 Posters 453 Views 1 Watching
  • 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 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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

      • Login

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