⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

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

  • Lifetime Qt Champion

    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

Log in to reply