← 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 aborts because libQt5XcbQpa.so.5 has an undefined QPlatformTheme::fileIconPixmap symbol; the report has no labels or maintainer comments.

Suggested action: needs triage

Reason: The report provides a precise loader failure and links a reproducer, but the snap remains open with no labels, comments, or maintainer response. The missing base, package versions, and dependency layout leave the likely Qt ABI or staging mismatch unresolved and require investigation.

Evaluated by: mr-cal-bot

Impact: 65 Quick Win: 15 Complexity: 62 Confidence: 86 Actionability: 62

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
stealth/space-bunny-alpha
Impact: 65
Quick Win: 15
Complexity: 62
Confidence: 86
Actionability: 62
needs triage PyQt5 snap aborts because libQt5XcbQpa.so.5 has an undefined QPlatformTheme::fileIconPixmap symbol; the report has no labels or maintainer comments.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 5
Complexity: 60
Confidence: 50
Actionability: 40
needs triage PyQt5 xcb plugin fails to load in a snap due to undefined symbol in libQt5XcbQpa.so; user reports using desktop-qt5 part with no maintainer response.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 9
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.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1859008 PyQt5 does not work from pip snapcraft (launchpad) open Untriaged report that pip-installed PyQt5 fails in a snap ("Could not load the Qt platform plugin xcb"); reporter wants pip PyQt5 supported instead of the stage package. No recipe, versions, or maintainer response.
72%