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. Looking for QtCursor pos() implementation in windows

Looking for QtCursor pos() implementation in windows

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 880 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.
  • W Offline
    W Offline
    weigqt1
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • W Offline
      W Offline
      weigqt1
      wrote on last edited by
      #2

      Sorry for typo, it is QCursor not QtCursor

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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

        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
        0

        • Login

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