7
Solved: Qt issue on new installation of Anki
(sh.itjust.works)
submitted
1 day ago* (last edited 5 hours ago)
by
schipelblorp@sh.itjust.works
to
c/linuxquestions@lemmy.zip
On Mint. Tried installing Anki from the app store, but the web was unhappy with that version's time zone handling, so I couldn't sync.
I downloaded the tarball from the developer and it installed fun, but when I run it I get:
Starting Anki 26.05...
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, offscreen, xcb, minimalegl, eglfs, vkkhrdisplay, minimal, vnc, wayland-brcm, wayland-egl, wayland.
Aborted (core dumped)
The Qt debug's only issue is this:
Qt debug: Got keys from plugin meta data QList("wayland", "wayland-egl", "wayland-brcm")
Qt debug: checking directory path "/home/alex/Downloads/anki-linux/platforms" ...
Qt debug: "/home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: libxcb-cursor.so.0: cannot open shared object file: No such file or directory
Qt debug: QLibraryPrivate::loadPlugin failed on "/home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" : "Cannot load library /home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: libxcb-cursor.so.0: cannot open shared object file: No such file or directory"
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I've checked that location and libqxcb.so is exactly there where it should be, so I'm not sure why it can't read.
I've uninstalled and reinstalled and still have this problem.
Any ideas?
Edit: Solution:
Try installing the packages mentioned here: https://docs.ankiweb.net/platform/linux/installing.html#requirements
Try installing the packages mentioned here: https://docs.ankiweb.net/platform/linux/installing.html#requirements
sudo apt install libxcb-xinerama0 libxcb-cursor0 libnss3 libxcb-icccm4 libxcb-keysyms1Ah, the magic of reading directions. Thanks. This fixed it.