Important: Please read the Qt Code of Conduct -

Why mouse cursor dissapears in mouseMoveEvent after update()?

  • hello, people
    I am writing application with Qt and Xlib under Linux. There are graphical objects that are moved by mouse in my program. I have implemented custom painting with Xlib function XPutImage - all is drawing right until i call update() from my mouseMoveEvent(). After update() mouse cursor dissapears. What is the reason? Maybe the problem is in the order of actions with custom painting because the cursor seems to apper before update()

  • can anyone explain me why custom painting with XPutImage in Qt3 works fine and in Qt4 I can`t see cursor?

Log in to reply