mherrmann / fbs-tutorial

Tutorial for creating Python/Qt GUIs with fbs
https://build-system.fman.io
GNU General Public License v3.0
1.95k stars 161 forks source link

fbs run “Could not find the Qt platform plugin "xcb" in "" #63

Open Moilleadoir opened 1 year ago

Moilleadoir commented 1 year ago

Just trying the tutorial and got to the first fbs run

(venv) $ fbs run
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

I suppose something’s not configured if I doesn’t have a path to search, but what? I seem to have libxcb, python-pyqt5 & python-pyqt6 installed. (Manjaro) Maybe I’m just the fool that proves the tutorial’s not foolproof.

Edit: Ah…

$ fbs freeze
This copy of fbs does not support Linux, sorry.
Please use Python 3.5/3.6 and `pip install fbs PyQt5==5.9.2`.
Or obtain fbs Pro from https://build-system.fman.io/pro.

Maybe the tutorial should mention that Python > 3.6 is not supported.