You are not logged in.
Hello there!
I'm having a strange problem with Qt-based applications, for example qt5ct looks like this:
screenshot
I've then tried this:
$ unset QT_STYLE_OVERRIDE
$ export QT_QPA_PLATFORMTHEME=qt5ct
$ qt5ct &But this makes it look like below then and not really better.
screenshot
I wonder where QT_STYLE_OVERRIDE is set, and also why QT_QPA_PLATFORMTHEME should be set to qt5ct. I didn't do this on my own.
I'm using Enlightenment E0.25.1 from the official packages as window manager.
My graphics card is Intel Corporation HD Graphics 530 (rev 06).
Any idea?
Last edited by beachcoder (2022-02-01 19:48:49)
Offline
enlightenment sets these if you have "match enlightenment theme if possible" enabled in application theme settings. e has done this for a good decade or so...
Offline
Hello, after some playing around together with raster, I've found that this has something to do with the scaling set with enlightenment.
This is how
vlc shows its menus:
screenshot
When I then run
QT_SCALE_FACTOR=1.2 vlc the menus are displayed right, and scaling as well:
screenshot
Might this be a Qt bug? Or an invalid setting somewhere?
Last edited by beachcoder (2022-02-01 19:49:31)
Offline
Ok, I've found the solution: QT applications don't follow Enlightenments scale settings. I was able to fix it by setting
QT_FONT_DPI=96environment variable in the Enlightenment environment settings following HiDPI wiki hints.
Here's causing, solution and result in one screenshot.
screenshot
Last edited by beachcoder (2022-02-01 19:49:59)
Offline
Please edit your posts and replace all of the oversized images. Thanks.
CoC - Pasting pictures and code
Offline
Please edit your posts and replace all of the oversized images. Thanks.
CoC - Pasting pictures and code
Hope it is OK now.
Offline