miktex icon indicating copy to clipboard operation
miktex copied to clipboard

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

Open CastleStar14654 opened this issue 11 months ago • 2 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

CastleStar14654 avatar Mar 25 '24 07:03 CastleStar14654

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 ""

CastleStar14654 avatar Apr 03 '24 10:04 CastleStar14654

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

CastleStar14654 avatar Apr 07 '24 02:04 CastleStar14654