mmertama/FigmaQML

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

Opened this issue · 1 comments

Hello,

How to fix the error below:

./FigmaQML 
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.

Aborted (core dumped)

I am using the latest version: v3.1.1

SO Kubuntu 24.04.1 LTS

Hello
Solved!

I installed the community version from the Qt website: Qt-installer-x64-4.8.1

And I searched for "xcb" inside the directory where I installed Qt:

find /home/myuser/opt -name '*xcb*.so*'

Then, I loaded the libraries from the "gcc_64" subdirectory of the Qt installation.

export LD_LIBRARY_PATH=/home/myuser/opt/qt/6.8.0/gcc_64/lib

Runs:
./FigmaQML