FedoraQt / QGnomePlatform

QPlatformTheme for a better Qt application inclusion in GNOME
GNU Lesser General Public License v2.1
263 stars 38 forks source link

Provide QPlatformTheme::{MouseCursorTheme,MouseCursorSize} on qt6 #134

Closed q234rty closed 1 year ago

q234rty commented 1 year ago

Qt 6.5 introduced QPlatformTheme::{MouseCursorTheme,MouseCursorSize} which are being used instead on XCURSOR_THEME and XCURSOR_SIZE on wayland. The code that's responsible for reading these variables have been moved into QGenericUnixTheme which is not loaded when using QGnomePlatform, so QGnomePlatform setting XCURSOR_SIZE won't work anymore.

Bryan2333 commented 1 year ago

I meet the related problem. As the Qt6 version on Arch Linux has been updated to 6.5, the cursor is very small in qbittorrent when launch with the environment QT_QPA_PLATFORMTHEME='gnome'. It seems that it just ignore the cursor size setting.