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
QtWS25 Last Chance

Scrcpy output to GUI using PyQt

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 729 Views
  • 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 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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 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.

        JonBJ 1 Reply Last reply
        0
        • S Sameera

          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.

          JonBJ Online
          JonBJ Online
          JonB
          wrote on 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

          • Login

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