Home > Back-end >  QT c how to obtain the coordinates of the external program window
QT c how to obtain the coordinates of the external program window

Time:09-19

If it is itself in QT widgets window coordinates can be got with the following method

W.g eometry. X ()
W.g eometry. Y ()

If use the method of QProcess start external programs, like to use this way to the external application window, the coordinates of may have to call the bottom XLib function to complete, don't know where students can provide the solution?

thank you
  • Related