Qt in wsl2?

So I was testing pycharm with wsl2 Interpreter.

Which works very nice, however is there a way to use pyqt5 and have the host windows 10  desktop create qt windows?


I guess no, but I'd like to make sure. This is what I get.

WARNING: could not connect to display
WARNING: Could not load the Qt platform plugin "xcb" in "" even though it was found.
WARNING: 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, webgl, xcb.


Process finished with exit code 134

Please sign in to leave a comment.