GithubHelp home page GithubHelp logo

Comments (15)

LxHTT avatar LxHTT commented on May 25, 2024 1

https://github.com/LxHTT/MCSL2/actions/runs/4448025212
请查看此处的版本能否正常运行。

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

"qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb."
我似乎必须用wayland桌面。。。

from mcsl2.

LxHTT avatar LxHTT commented on May 25, 2024

比较悲哀(
我看后期能不能适配一下

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

from mcsl2.

LxHTT avatar LxHTT commented on May 25, 2024

请尝试在程序同目录下新建platform文件夹并在其中放置
libQt5XcbQpa.so
libQt5Core.so
libQt5Gui.so
libQt5Network.so
libQt5Widgets.so
libQt5DBus.so
libicuuc.so
libicudata.so
libicui18n.so
libqxcb.so


(文件自行百度XD)
配置完后,再次尝试运行。注意,请使用 https://github.com/LxHTT/MCSL2/actions/runs/4448025212 的程序。


若仍然不行,请设置系统环境变量
export QT_DEBUG_PLUGINS=1
然后通过命令行运行本程序,并将输出的信息回复给我。

from mcsl2.

LxHTT avatar LxHTT commented on May 25, 2024

请在终端中执行export QT_QPA_PLATFORM=wayland 并且回车,再运行程序即可。

from mcsl2.

LxHTT avatar LxHTT commented on May 25, 2024

No. It cannot run normally on Manjaro Linux Gnome right now.
But I can still run it on Ubuntu....

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

我是Archlinux + KDE + Xorg11。。。

from mcsl2.

LxHTT avatar LxHTT commented on May 25, 2024

显然在KDE桌面环境上可以正常工作。
我现在在用了上面的解决方案之后,运行,给出了以下报错:

Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

我去试试

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

确实有问题。。。

``` qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

可以用了,作者大大

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

你检查一下你的Release的打包,应该是打包有问题,而非程序自身引起。
我是直接拉的源码,之后按照README文档里安装依赖后用“python MCSL2.py”命令运行,可以正常运行

from mcsl2.

LxHTT avatar LxHTT commented on May 25, 2024

此功能已经整合入 e7115a8
通过直接设置环境变量达到效果

from mcsl2.

FTS427 avatar FTS427 commented on May 25, 2024

from mcsl2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.