Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Scrcpy output to GUI using PyQt
Forum Updated to NodeBB v4.3 + New Features

Scrcpy output to GUI using PyQt

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 821 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.
  • S Offline
    S Offline
    Sameera
    wrote on 20 Jan 2023, 09:08 last edited by
    #1

    Is it possible to redirect the live screen mirroring and touch simulation of scrcpy output to the PyQt GUI?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 20 Jan 2023, 22:37 last edited by
      #2

      Hi and welcome to devnet,

      What exactly do you want to achieve ?

      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
      • S Offline
        S Offline
        Sameera
        wrote on 22 Jan 2023, 12:24 last edited by
        #3

        Thanks for your reply!
        We use scrcpy for display and control of Android devices. When we open the scrcpy.exe, a window appears where the live screen mirroring is displayed. What I want is, instead of a scrcpy window appearing separately, I could somehow redirect that live screen mirroring to a QLabel/QGraphicsView in the UI.

        J 1 Reply Last reply 22 Jan 2023, 12:33
        0
        • S Sameera
          22 Jan 2023, 12:24

          Thanks for your reply!
          We use scrcpy for display and control of Android devices. When we open the scrcpy.exe, a window appears where the live screen mirroring is displayed. What I want is, instead of a scrcpy window appearing separately, I could somehow redirect that live screen mirroring to a QLabel/QGraphicsView in the UI.

          J Offline
          J Offline
          JonB
          wrote on 22 Jan 2023, 12:33 last edited by
          #4

          @Sameera
          If scrcpy.exe does not offer a "option" to send its output to a different window, it sounds like you want to "embed" the whole application inside a Qt app? Googling qwidget external window or qwidget embed application leads to various posts you should read to see if that is what you want? QWidget *QWidget::createWindowContainer() may be what you are looking for.

          1 Reply Last reply
          1

          1/4

          20 Jan 2023, 09:08

          • Login

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