按照Download and Install | QGC Guide 指南下载安装,无法打开./QGroundControl-x86_64.AppImage
cnn@cnn-LEGION-REN9000K-34IAS:~/Downloads$ QT_QPA_PLATFORMTHEME="" QT_STYLE_OVERRIDE=Fusion QT_DEBUG_PLUGINS=1 ./QGroundControl-x86_64.AppImage QGroundControl AppImage: Forcing xcb platform (Wayland support incomplete) qt.core.library: "pipewire-0.3" loaded library qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_QGrounEPNObK/usr/plugins/platforms" ... qt.core.plugin.factoryloader: looking at "libqoffscreen.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_QGrounEPNObK/usr/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "archlevel": 2, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 396032 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen") qt.core.plugin.factoryloader: looking at "libqwayland.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_QGrounEPNObK/usr/plugins/platforms/libqwayland.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "wayland", "wayland-egl", "wayland-brcm" ] }, "archlevel": 2, "className": "QWaylandIntegrationPlugin", "debug": false, "version": 396032 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland", "wayland-egl", "wayland-brcm") qt.core.plugin.factoryloader: looking at "libqxcb.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_QGrounEPNObK/usr/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archlevel": 2, "className": "QXcbIntegrationPlugin", "debug": false, "version": 396032 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb") qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_QGrounEPNObK/usr/bin/platforms" ... qt.core.library: "/tmp/.mount_QGrounEPNObK/usr/plugins/platforms/libqxcb.so" loaded library qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_QGrounEPNObK/usr/plugins/platformthemes" ... qt.core.plugin.factoryloader: looking at "libqgtk3.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_QGrounEPNObK/usr/plugins/platformthemes/libqgtk3.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1", "MetaData": { "Keys": [ "gtk3" ] }, "archlevel": 2, "className": "QGtk3ThemePlugin", "debug": false, "version": 396032 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gtk3") qt.core.plugin.factoryloader: looking at "libqxdgdesktopportal.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_QGrounEPNObK/usr/plugins/platformthemes/libqxdgdesktopportal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1", "MetaData": { "Keys": [ "xdgdesktopportal", "flatpak", "snap" ] }, "archlevel": 2, "className": "QXdgDesktopPortalThemePlugin", "debug": false, "version": 396032 } qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap") qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_QGrounEPNObK/usr/bin/platformthemes" ... qt.core.library: "/tmp/.mount_QGrounEPNObK/usr/plugins/platformthemes/libqgtk3.so" loaded library Segmentation fault (core dumped) QT_QPA_PLATFORMTHEME="" QT_STYLE_OVERRIDE=Fusion QT_DEBUG_PLUGINS=1 ./QGroundControl-x86_64.AppImage解决方法:
./QGroundControl-x86_64.AppImage --appimage-extract 提取 AppImage 的内部文件
cd squashfs-root/usr/plugins/platformthemes/
rm libqgtk3.so
运行squashfs-root下的AppRun成功打开QGC软件