https://bugs.kde.org/show_bug.cgi?id=416078
--- Comment #10 from Christoph Cullmann <cullm...@kde.org> ---
If we can fix that in kate/kwrite/... code, I am happy to do so, but what is
actually the correct sequence of stuff to setup hidpi support?

So far, it seemed to be:

    /**
     * enable high dpi support
     */
    QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);

And from Qt 5.14 on, one can allow e.g. stuff like 1.5 via (at least on
Windows, on X11 it was always possible already before that):


    /**
     * allow fractional scaling
     */
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
   
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#endif

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to