casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.87k stars 75 forks source link

no Qt platform plugin could be initialized #87

Closed xMarcinator closed 2 years ago

xMarcinator commented 2 years ago

Describe the bug I'm unable to start the GUI with python3 -m cassowary -a as listed in page 2 install Linux host . But i get this output in the console

[ 2022-06-22 11:50:04,334 ] | [  DEBUG ] :  [    __init__ ->                 main  ] -->  Starting configuration GUI 
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, webgl, xcb.

To Reproduce Follow provided installation instructions except instaling virtual machine (see additional context to why)

Expected behavior I expected the gui to open to configure cassowary

System information:

Additional context My current setup is currently for evaluating Linux with the purpose to maybe change to Linux. Therefore my current Host is a windows 10 pro machine with and windows 10 pro and Pop!_OS guest.

I have found some of the problem it seems like PyQt5 cant find libxcb-xinerama.so

Console output Output with QT_DEBUG_PLUGINS set 1 when opening gui libxcb.so contents

xMarcinator commented 2 years ago

Feeling a bit dumb but found a solution after i posted this issue. Found this Ask Ubuntu thread where the solution was to get PyQt5 through the package manager instead of python.