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. How Qt GUI Appliction implement funtion that prevent window be capture or forbid screen be recorded?
Forum Updated to NodeBB v4.3 + New Features

How Qt GUI Appliction implement funtion that prevent window be capture or forbid screen be recorded?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 917 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.
  • H Offline
    H Offline
    HongHu
    wrote on last edited by
    #1

    On Qt Gui appliction, how prevent the window be captureed and forbide screen be recorded.
    if I make Qt Gui appliction implement these function,what i shoud do?
    I use ubuntu system to devlop Qt appliction, Can I use origin X11(xlib or XCB etc) library to implement these function.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      HongHu
      wrote on last edited by
      #2

      I no sure use X11(xlib,xcb) library can solve problem

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

        Hi and welcome to devnet,

        Can you explain your use case ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        H 2 Replies Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          Can you explain your use case ?

          H Offline
          H Offline
          HongHu
          wrote on last edited by
          #4

          @SGaist For example I used Qt to develop a video player on the ubuntu system. I don't want the video window to be recorded or screenshotted by other programs while the video is playing

          1 Reply Last reply
          0
          • SGaistS SGaist

            Hi and welcome to devnet,

            Can you explain your use case ?

            H Offline
            H Offline
            HongHu
            wrote on last edited by
            #5

            @SGaist We all know that Qt has re-encapsulated the xlib library. Desktop windows in linux systems need to be drawn with an x server (like Xwindows), and Qt is one of the best encapsulation libraries for developing x client programs. I want to know how to use Qt to implement the underlying data protection for the Xclient window

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

              You are forgetting about Wayland.

              In any case, for meddling with the internals of X.org for antitheft system, you'll have to go low level with Xlib and I think it's something that is unlikely to be available without lots of work if at all.

              Just think that anybody with a camera or a smartphone will be able to record the screen.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              H 1 Reply Last reply
              1
              • SGaistS SGaist

                You are forgetting about Wayland.

                In any case, for meddling with the internals of X.org for antitheft system, you'll have to go low level with Xlib and I think it's something that is unlikely to be available without lots of work if at all.

                Just think that anybody with a camera or a smartphone will be able to record the screen.

                H Offline
                H Offline
                HongHu
                wrote on last edited by
                #7

                @SGaist Yeah, I'll watermark the video, and if someone else uses a smartphone or camera to record the window, it won't be so clear and it won't be so convenient. So I still want to protect my video from a code perspective. Does Wayland have an interface?

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

                  There's nothing pre-made for that.

                  It looks like you want to implement something like DRM, what is exactly your final goal ?

                  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