[GH-ISSUE #2652] qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" #1209

Closed
opened 2026-10-13 20:36:50 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @stdEndian on GitHub (May 25, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2652

Describe the bug
AmneziaVPN won't start after installation on a fresh system

To Reproduce

  1. Just regular installation
  2. Start /opt/AmneziaVPN/client/bin/AmneziaVPN

Expected behavior
AmneziaVPN window appear on screen

Log files
$ export QT_DEBUG_PLUGINS=1
$ ./AmneziaVPN
qt.core.plugin.factoryloader: checking directory path "/usr/lib/qt/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "libqoffscreen.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archlevel": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 331520
}

qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqoffscreen.so:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqoffscreen.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
qt.core.plugin.factoryloader: looking at "libqminimalegl.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archlevel": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 331520
}

qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqminimalegl.so:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqminimalegl.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
qt.core.plugin.factoryloader: looking at "libqeglfs.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archlevel": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 331520
}

qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqeglfs.so:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqeglfs.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
qt.core.plugin.factoryloader: looking at "libqxcb.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archlevel": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 331520
}

qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqxcb.so:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqxcb.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
qt.core.plugin.factoryloader: looking at "libqlinuxfb.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archlevel": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 331520
}

qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqlinuxfb.so:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqlinuxfb.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
qt.core.plugin.factoryloader: looking at "libqminimal.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archlevel": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 331520
}

qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqminimal.so:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqminimal.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
qt.core.plugin.factoryloader: looking at "libqvnc.so"
qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archlevel": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 331520
}

qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqvnc.so:
Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqvnc.so' uses incompatible Qt library. (5.15.0) [release]"
not a plugin
qt.core.plugin.factoryloader: checking directory path "/opt/AmneziaVPN/client/bin/platforms" ...
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped) ./AmneziaVPN

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version 7.0.9-arch2-1
Originally created by @stdEndian on GitHub (May 25, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2652 **Describe the bug** AmneziaVPN won't start after installation on a fresh system **To Reproduce** 1. Just regular installation 2. Start /opt/AmneziaVPN/client/bin/AmneziaVPN **Expected behavior** AmneziaVPN window appear on screen **Log files** $ export QT_DEBUG_PLUGINS=1 $ ./AmneziaVPN qt.core.plugin.factoryloader: checking directory path "/usr/lib/qt/plugins/platforms" ... qt.core.plugin.factoryloader: looking at "libqoffscreen.so" qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archlevel": 0, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 331520 } qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqoffscreen.so: Plugin uses incompatible Qt library (5.15.0) [release] qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqoffscreen.so' uses incompatible Qt library. (5.15.0) [release]" not a plugin qt.core.plugin.factoryloader: looking at "libqminimalegl.so" qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "archlevel": 0, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 331520 } qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqminimalegl.so: Plugin uses incompatible Qt library (5.15.0) [release] qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqminimalegl.so' uses incompatible Qt library. (5.15.0) [release]" not a plugin qt.core.plugin.factoryloader: looking at "libqeglfs.so" qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "archlevel": 0, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 331520 } qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqeglfs.so: Plugin uses incompatible Qt library (5.15.0) [release] qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqeglfs.so' uses incompatible Qt library. (5.15.0) [release]" not a plugin qt.core.plugin.factoryloader: looking at "libqxcb.so" qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archlevel": 0, "className": "QXcbIntegrationPlugin", "debug": false, "version": 331520 } qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqxcb.so: Plugin uses incompatible Qt library (5.15.0) [release] qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqxcb.so' uses incompatible Qt library. (5.15.0) [release]" not a plugin qt.core.plugin.factoryloader: looking at "libqlinuxfb.so" qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "archlevel": 0, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 331520 } qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqlinuxfb.so: Plugin uses incompatible Qt library (5.15.0) [release] qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqlinuxfb.so' uses incompatible Qt library. (5.15.0) [release]" not a plugin qt.core.plugin.factoryloader: looking at "libqminimal.so" qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "archlevel": 0, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 331520 } qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqminimal.so: Plugin uses incompatible Qt library (5.15.0) [release] qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqminimal.so' uses incompatible Qt library. (5.15.0) [release]" not a plugin qt.core.plugin.factoryloader: looking at "libqvnc.so" qt.core.plugin.loader: Found metadata in lib /usr/lib/qt/plugins/platforms/libqvnc.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "vnc" ] }, "archlevel": 0, "className": "QVncIntegrationPlugin", "debug": false, "version": 331520 } qt.core.plugin.loader: In /usr/lib/qt/plugins/platforms/libqvnc.so: Plugin uses incompatible Qt library (5.15.0) [release] qt.core.plugin.factoryloader: "The plugin '/usr/lib/qt/plugins/platforms/libqvnc.so' uses incompatible Qt library. (5.15.0) [release]" not a plugin qt.core.plugin.factoryloader: checking directory path "/opt/AmneziaVPN/client/bin/platforms" ... qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Aborted (core dumped) ./AmneziaVPN **Desktop (please complete the following information):** - OS: Arch Linux - Version 7.0.9-arch2-1
Author
Owner

@stdEndian commented on GitHub (May 25, 2026):

Everything works when installing Amnezia from AUR. Remember to enable systemd-resolved on system boot, otherwise Amnezia will cause DNS resolution errors.

<!-- gh-comment-id:4535493418 --> @stdEndian commented on GitHub (May 25, 2026): Everything works when installing Amnezia from AUR. Remember to enable systemd-resolved on system boot, otherwise Amnezia will cause DNS resolution errors.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1209
No description provided.