Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] QT Creator Screen resolution messed up on laptop
Forum Update on Monday, May 27th 2025

[SOLVED] QT Creator Screen resolution messed up on laptop

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 977 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.
  • J Offline
    J Offline
    jellyv
    wrote on last edited by jellyv
    #1

    I usually connect my dell laptop(1920x1080) to external display(1920x1080, but way bigger than laptop screen in size), and work in QT Creator there. The resolution is fine on the external display. However, when I disconnect the external display, QT Creator's resolution is messed up on laptop (native display). Restarting QT Creator or the laptop doesn't help.
    Device Manager tells me my monitor & Display Adapter Drivers are up to date. Any suggestions?

    P.S: QT Creator is the only app that has this problem.

    Below is the screenshot of QT Creator on my laptop:
    7d625f60-1fd1-4f47-b3cb-2b01b71142f9-image.png

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Ehh thats new. restarting it should have fixed it.

      Can you try starting it from the command prompt

      C:\Qt\Tools\QtCreator\bin\qtcreator.exe --platform windows:dpiawareness=2

      or with =0

      J 1 Reply Last reply
      3
      • mrjjM mrjj

        Hi
        Ehh thats new. restarting it should have fixed it.

        Can you try starting it from the command prompt

        C:\Qt\Tools\QtCreator\bin\qtcreator.exe --platform windows:dpiawareness=2

        or with =0

        J Offline
        J Offline
        jellyv
        wrote on last edited by
        #3

        @mrjj thank you so much!
        dpiawareness=2 did nothing, but dpiawareness=0 solved the problem. However, after I close QT and open it again from windows explorer, its resolution is still messed up. I guess I'll create a batch file to launch QT on my laptop.

        1 Reply Last reply
        1

        • Login

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