【发布时间】:2020-01-12 00:30:53
【问题描述】:
我来了
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
在 Debian 9 中全新安装 qt creator 之后。不幸的是,这里的解决方案告诉我要执行 ldd /usr/lib/qt/plugins/platforms/libqxcb.so 但 /usr/lib/qt/ 甚至不存在。
【问题讨论】:
-
执行
export QT_DEBUG_PLUGINS=1并执行你的可执行文件:./your_executable,输出是什么?