I have installed PyCharm on my PC and use it to access the Python scripts (which are using openCV) on my Raspberry Pi. Is it possible to run scripts on the Pi and display the Pi’s screen output on the PC as well?
When I try to start the script on the Pi via PyCharm, I get the following error message:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.