Looking for QtCursor pos() implementation in windows
-
I am debugging an application in Windows 7 X64 bit without source code and need to find the cursor position for debugging. As far as I know the app is based on Qt.
I looked at the source code / src/gui/kernel/qcursor.cpp in qt.gitorious.org but can't find the implementation of pos(). Could any one share the information how this function is implemented in windows?
Thanks a lot in advance
-
Sorry for typo, it is QCursor not QtCursor
-
Hi and welcome to devnet,
pos implementation is at line 196, that will bring you to QPlatformCursor. This one you can find in the corresponding platform plugin in Qt's source.
Hope it helps