Results 149 comments of Pier Luigi Fiorini

Depends on whether it's supported on all platforms that we target. Besides that it's weirder than Q_UNUSED: https://en.cppreference.com/w/cpp/language/attributes/maybe_unused

Qt Patch: https://codereview.qt-project.org/c/qt/qtbase/+/318600

Ah that's the Qt autoscaling it thinks device pixel ratio is greater than 1 (probably 2 or even 3). `qtdiag` should tell you more but it's not part of the...

160 mm x 90 mm for a 65" screen doesn't seem right is it a Samsung isn't it? :)

Samsung is known to confuse mm with cm so it reports the wrong physical size to Qt. I'm considering turning high-dpi support off on X11.

On Wayland, with our compositor, I can make adjustments and correct bad monitors for example always use a scale factor of 1 if the resolution is

Btw even if it was meant to be 160 cm x 90 cm it's a bit weird for a 65" screen, it should be about 140 cm x 80 cm

This is a hardware problem (wrong physical size being reported) but Qt needs to be patched make it clever and report devicePixelRatio = 1.0 if the resolution is lower or...

Please paste all the commands you are using to build and in which directories.

I mean what you **actually** write not the instructions. You are probably running `cmake` from /home not the source directory.