Scrcpy output to GUI using PyQt
-
Hi and welcome to devnet,
What exactly do you want to achieve ?
-
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. -
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.@Sameera
Ifscrcpy.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? Googlingqwidget external window
orqwidget 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.