Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to catch changes in desktop (repaints)

How to catch changes in desktop (repaints)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 820 Views 2 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.
  • N Offline
    N Offline
    Nikola Radovanovic
    wrote on last edited by
    #1

    Hi,
    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

    raven-worxR 1 Reply Last reply
    0
    • N Nikola Radovanovic

      Hi,
      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

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Nikola-Radovanovic
      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.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

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

        Hi,

        To add to @raven-worx, what about using Qt's VNC backend ?

        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
        • N Offline
          N Offline
          Nikola Radovanovic
          wrote on last edited by
          #4

          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

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

            It's now part of Qt 5.

            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
            2

            • Login

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