Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcpelauncher-ui-qt fails to load kvantum style #25

Open
HurricanePootis opened this issue Mar 11, 2023 · 1 comment
Open

mcpelauncher-ui-qt fails to load kvantum style #25

HurricanePootis opened this issue Mar 11, 2023 · 1 comment

Comments

@HurricanePootis
Copy link

Hello,

I am using GNOME, and to style my qt5 and qt6 apps, I use the kvantum theme engine with the envar QT_STYLE_OVERRIDE=kvantum. This allows me to have a uniform look across all my apps, as kvantum supports both qt5 and qt6, and has worked with all of my other qt apps so far, like VLC, PrismLauncher, qbittorrent, and OBS. However, whenever I go to run mcpelauncher-ui-qt, I get the following error

QQmlApplicationEngine failed to load component
qrc:/qml/main.qml: module "kvantum" is not installed

If other qt6 applications have no trouble finding kvantum, what is the problem here?

@ChristopherHX
Copy link
Member

No idea, the default error log doesn't indicate why qml tries to import kvantum and fails to find it.

QML_IMPORT_TRACE=1 and QT_DEBUG_PLUGINS=1 might tell more about the location of the error.

Does vlc work with qt6 (one of your examples contains qml code)? The archlinux package still has qt5 as the dependency.

Prismlauncher doesn't use qml and therefore cannot return that error.

Does the qt5 version of the gui work with kvantum style? You can try to build via an older aur build script prior the branch swap from ng to qt6. Or manually build minecraft-linux/mcpelauncher-ui-manifest@ng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants