hyprwm / hyprpolkitagent

A polkit authentication agent written in QT/QML
https://wiki.hyprland.org/Hypr-Ecosystem/hyprpolkitagent/
BSD 3-Clause "New" or "Revised" License
60 stars 1 forks source link

[bug] Ignores qt styles #2

Closed enk-it closed 1 day ago

enk-it commented 2 days ago

I'm using adwaita-qt5 for qt applications. And most of qt apps uses this theme (i've set it with qt5ct), but hyprpolkitagent ignores it and tries to use it's default value (org.kde.desktop). I've tried setting QT_QUICK_CONTROLS_STYLE to 'Adwaita-Dark' and Adwait-dark but it just says: qrc:/qt/qml/hpa/qml/main.qml: module "Adwaita-Dark" is not installed. But if i set it to some default qt style, Material for example, it runs flawlessly.

vaxerski commented 1 day ago

QT_QUICK_CONTROLS_STYLE is not a theme. It's a theme provider. Install qqc2-desktop-style.