How to catch changes in desktop (repaints)
I would like to know if there is a possibility that QtQuick application catches notifications of the X window system. To be precise, I would like to catch image of changed area of the screen. say when notification pop ups or new browser window is changed, etc; I wish to get that region and capture the image in memory so I can send it over VNC server to client(s)
My main targets are Linux and Android, but OSX and Windows would be nice also.
Thank you in advance
thats way out of the scope of QML - and even Qt.
You you rather need to take a look at the native APIs and implement your logic in C++ and if really necessary forward it to your QML elements.
To add to @raven-worx, what about using Qt's VNC backend ?
thank you for the response.
I initially hoped it would be possible to do with event filter, but wanted to be sure. I have to create VNC server for Linux/Android and thought to use libVNCserver project for that. Can you please point me to Qt' VNC backend - I was not aware of its existence.
Thank you in advance and best regards
It's now part of Qt 5.