eliranwong / UniqueBible

A cross-platform bible application, integrated with high-quality resources and amazing features, running offline in Windows, macOS and Linux, ChromeOS, Android, iOS. Various running modes are supported.
https://UniqueBible.app
GNU General Public License v3.0
122 stars 34 forks source link

Artix Linux it comes with an error #1368

Closed doonoo closed 5 months ago

doonoo commented 1 year ago

When I do python3 UniqueBible/uba.py this shows

`This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland, minimalegl, eglfs, xcb, minimal, wayland-egl, offscreen, vnc, linuxfb, vkkhrdisplay. `

eliranwong commented 1 year ago

What is your os?

doonoo commented 1 year ago

What is your os?

Arch Linux, more specifically artix Linux

eliranwong commented 1 year ago

You may try:

export QT_QPA_PLATFORM=xcb

If it works:

echo "export QT_QPA_PLATFORM=xcb" >> ~/.bashrc

eliranwong commented 1 year ago

If you use wayland instead of xcb, you may try:

export QT_QPA_PLATFORM=wayland;xcb

QT_QPA_PLATFORMTHEME=qt5ct

eliranwong commented 1 year ago

For Arch Linux, you may also install the qt packages as in file:

https://github.com/eliranwong/uniquebibleapp-webtop/blob/main/Dockerfile

doonoo commented 5 months ago

I've installed arch linux, works as expected.