MiKTeX / miktex

the MiKTeX source code

Home Page:https://miktex.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing `qt6-wayland` dependency on Ubuntu for v24.3 after moving to Qt6 (22.04)

CastleStar14654 opened this issue · comments

As stated by issues #1468 and #1469, after moving to Qt6 (suggested by #1414), miktex would complain that

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

I found that the dependency of wayland is missing, and that installing the package qt6-wayland could solve the problem.

sudo apt install qt6-wayland

Some further test indicates that this is only a solution for Ubuntu on WSL(2). Full desktop Ubuntu system still cannot run miktex 24.3 after installing qt6-wayland, reporting:

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

It turns out that additional qt6-qpa-plugins need to be installed. (thanks to @chdebernardi in #1469)