extraterm icon indicating copy to clipboard operation
extraterm copied to clipboard

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Open kruthoff opened this issue 11 months ago • 7 comments

Version 0.76 doesn't start anymore on Pop!_OS 22.04 LTS x86_64. I've purged the app and have reinstalled it, without luck.

[akruthoff@gazelle-akr:~$ /opt/extratermqt/extratermqt 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

panic: Post "/command": unsupported protocol scheme ""

goroutine 1 [running]:
main.runCommand({0x0, 0x0}, 0xc0000e7ec8)
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:200 +0x2e5
main.runOpenWindowAtCommand({0x0, 0x0}, {0xc00001c0dc, 0xf})
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:135 +0xd4
main.main()
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:40 +0x6a
[akruthoff@gazelle-akr:~$

kruthoff avatar Mar 12 '24 07:03 kruthoff

Is this running on Xorg or Wayland as display server?

sedwards2009 avatar May 06 '24 19:05 sedwards2009

Is this running on Xorg or Wayland as display server?

Running on Xorg.

kruthoff avatar May 07 '24 09:05 kruthoff

try running export QT_QPA_PLATFORM=xcb before starting it from the command line

LackingCats avatar Jul 07 '24 07:07 LackingCats

I have this issue too, same exact message. I am running Ubuntu 24.04 and using Xorg. Running export as LackingCats suggested did not change the result.

paulrtcsjh avatar Aug 29 '24 07:08 paulrtcsjh

Running into the same issue on Ubuntu 22.04.05 LTS.

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

panic: Post "/command": unsupported protocol scheme ""

goroutine 1 [running]:
main.runCommand({0x0, 0x0}, 0xc0000dbec8)
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:200 +0x2e5
main.runOpenWindowAtCommand({0x0, 0x0}, {0xc00001c0c4, 0xe})
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:135 +0xd4
main.main()
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:40 +0x6a

Doing the export QT_QPA_PLATFORM=xcb didn't fix it.

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

panic: Post "/command": unsupported protocol scheme ""

goroutine 1 [running]:
main.runCommand({0x0, 0x0}, 0xc0000dbec8)
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:200 +0x2e5
main.runOpenWindowAtCommand({0x0, 0x0}, {0xc00001c0c4, 0xe})
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:135 +0xd4
main.main()
	/home/runner/work/extraterm-launcher/extraterm-launcher/cmd/extraterm-launcher/extraterm-launcher.go:40 +0x6a

Ralms avatar Sep 18 '24 10:09 Ralms

I was having the same problem on a fresh Linux Mint 22 install, I solved it by installing qt5ct, setting QT_QPA_PLATFORMTHEME=qt5ct in /etc/environment and installing this: sudo apt-get install -qq libglu1-mesa-dev libx11-xcb-dev '^libxcb*'

I'm not sure if it is all needed but it was failling before the last round of installs. Hope it helps !

niawag avatar Sep 23 '24 07:09 niawag