Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 4.14 cannot get correct pixel density.

Qt Creator 4.14 cannot get correct pixel density.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 179 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XIVN1987
    wrote on last edited by
    #1

    I start qt creator by command below:

    set QT_AUTO_SCREEN_SCALE_FACTOR=1
    C:\Programs\QtCreator\bin\qtcreator.exe
    

    or

    set QT_ENABLE_HIGHDPI_SCALING=1
    C:\Programs\QtCreator\bin\qtcreator.exe
    

    The ui in qt creator is magnified to 2 times, and all widgets look very large.
    It looks like Qt Creator is not getting the right pixel density ( I think it's 1.5 times).
    how to solve the problem?
    Thanks a lot.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved