← Back to issue list

pyqt5 cannot load xcb plugin

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1764100
Type
issue
State
open
Author
~ihaywood3
Labels
Created
Updated
Closed

Current evaluation

PyQt5 snap fails to load xcb platform plugin due to undefined Qt symbol in libQt5XcbQpa, indicating a Qt library version mismatch. 8+ years old, zero comments, no labels, no maintainer interaction.

Suggested action: close stale

Reason: The issue is 3060 days (~8.4 years) old with zero comments, zero labels, and no maintainer interaction. The underlying problem — a Qt library ABI mismatch causing an undefined symbol in the xcb platform plugin — is a well-known snap packaging issue that has been addressed through the desktop-qt5 extension (present in the current codebase under extensions/desktop/) and improved snapcraft tooling. The original DEXBot snap and the snapcraft version from that era are no longer relevant to the current project.

Impact: 15 Quick Win: 9.0 Staleness: 95 Complexity: 40 Confidence: 70 Support Request: 75

Issue body

I am attempting to create a snap for a PyQt5 project. See http://github.com/ihaywood3/DEXBot/tree/snap Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/snap/dexbot/x9/usr/bin/platforms" ... Cannot load library /snap/dexbot/x9/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/snap/dexbot/x9/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE) QLibraryPrivate::loadPlugin failed on "/snap/dexbot/x9/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /snap/dexbot/x9/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/snap/dexbot/x9/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE)" This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb, vnc. Reinstalling the application may fix this problem. Aborted (core dumped) I cannot get past this error. I have included desktop-qt5 as a part, and I cannot understand why all required Qt5 libraries are not available. The missing identifier ("PlatformTheme14...") is found in the platform theme plugins libqgtk2.so and libappmenu-qt5.so, both are available in the snap.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 9.0
Staleness: 95
Complexity: 40
Confidence: 70
Support Request: 75
close stale PyQt5 snap fails to load xcb platform plugin due to undefined Qt symbol in libQt5XcbQpa, indicating a Qt library version mismatch. 8+ years old, zero comments, no labels, no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 55
Confidence: 90
Support Request: 85
close stale User reports PyQt5 XCB plugin loading failure in a snap due to undefined Qt symbols. The report lacks maintainer interaction, labels, or comments, and remains unresolved after over eight years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 40
Confidence: 90
Support Request: 95
close stale User reports PyQt5 failing to load the xcb plugin in a snap package due to undefined Qt symbols. The issue has been inactive for over 8 years with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 40
Confidence: 90
Support Request: 70
close stale PyQt5 snap fails to load xcb plugin due to undefined Qt5 symbol. No maintainer response or labels after ~8 years of inactivity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 90
Support Request: 80
close stale User reports PyQt5 xcb plugin loading failure in a snap package due to undefined Qt symbols. Issue is 8 years old, has no maintainer interaction, and likely involves outdated dependencies.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1859008 PyQt5 does not work from pip snapcraft (launchpad) open PyQt5 from pip fails in snaps with xcb plugin load error; reporter notes the PyQt5 stage package works. No maintainer response, no labels, 0 comments, 2426 days old.
79%