Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. dpi

    Log in to post
    • All categories
    • frank.xin

      Unsolved Moving window to another screen will disable font size changing function
      General and Desktop • pyqt5 dpi font size • • frank.xin

      1
      0
      Votes
      1
      Posts
      354
      Views

      No one has replied

    • D

      Solved What is the correct way to use Text component to support multiple DPIs?
      QML and Qt Quick • font size dpi text mobile app deve responsive • • diredko

      4
      0
      Votes
      4
      Posts
      579
      Views

      J.Hilk

      @diredko
      you can take a look at the Scalability section of the documentation

      The calculating scaling ratio section has an example that used to help me a lot when I first was confronted with this issue.

    • M

      Unsolved QWebEngineView high DPI awareness
      QtWebEngine • dpi qtwebengine qwebengineview chrome • • mbise1993

      1
      0
      Votes
      1
      Posts
      781
      Views

      No one has replied

    • aragats

      Solved Screen aspect ratio and QWebView
      Qt WebKit • qwebview aspect ratio dpi scale dimensions • • aragats

      3
      0
      Votes
      3
      Posts
      1680
      Views

      aragats

      @Konstantin-Tokarev , thanks!
      QGraphicsView::scale() works great.

    • R

      Solved Rendering to physical sizes, how to let it work on all platforms?
      QML and Qt Quick • pysical scaling dpi dpi awareness ppi • • RaDq1

      4
      0
      Votes
      4
      Posts
      1099
      Views

      R

      @johngod Thank you so much, you're right Screen.pixelDensity would be the complete solution if it was in qml,
      sifting trough the qt source i was able that it was derived from:

      double pixelpermm = QGuiApplication::primaryScreen()->physicalDotsPerInch() / 25.4 //physicalDotsPerInchX() & physicalDotsPerInchY() also exist

      and it seems to be correct on both my iPhone & iPad quite wel (better than all other ways I found so far)

      @Lorenz thanks, but for the time being I want to stick to Qt as it is a paid sdk as soon as you go commercial

    • J

      Unsolved Qt Built Software Device Resolution Inquiry
      General and Desktop • pixel device resolution dpi scale • • JVR Orane

      6
      0
      Votes
      6
      Posts
      1614
      Views

      J

      @mrjj yeah its not, but thanks though

    • vikramg

      Unsolved Device-independent-pixel sizing in Qt 5.6
      QML and Qt Quick • dpi highdpi • • vikramg

      1
      0
      Votes
      1
      Posts
      1309
      Views

      No one has replied

    • M

      Can Widget Applications on the Mac and Windows Be DPI-Aware?
      General and Desktop • dpi widget applicat windows mac os x • • maximo

      3
      0
      Votes
      3
      Posts
      1280
      Views

      ravas

      @maximo
      http://doc.qt.io/qt-5/highdpi.html
      http://doc.qt.io/qt-5/qscreen.html#devicePixelRatio-prop

    • B

      QT embedded simulate (up,down,left,right,enter) navigation
      Mobile and Embedded • color depth dpi embedded framebuffer resize scale • • BluTiGeS

      34
      0
      Votes
      34
      Posts
      10576
      Views

      SGaist

      Looks like a bug, you should check on the bug report system