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. Change High dpi Mode in settings
Qt 6.11 is out! See what's new in the release blog

Change High dpi Mode in settings

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 914 Views 1 Watching
  • 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.
  • MegamouseM Offline
    MegamouseM Offline
    Megamouse
    wrote on last edited by
    #1

    Hi,

    Ist it possible to switch the high dpi flag from enabled to disabled and vice versa while the application is already running?

    Last time I tried it had to be set before running the QApplication.

    Regards,
    Megamouse

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

      Hi
      I think you still have to.
      so only option to have app restart.

      MegamouseM 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        I think you still have to.
        so only option to have app restart.

        MegamouseM Offline
        MegamouseM Offline
        Megamouse
        wrote on last edited by
        #3

        @mrjj too bad. Thx

        1 Reply Last reply
        0
        • MegamouseM Offline
          MegamouseM Offline
          Megamouse
          wrote on last edited by
          #4

          Is there a simple way to set QT_AUTO_SCREEN​_SCALE_FACTOR per application in windows 10 ?

          mrjjM 1 Reply Last reply
          0
          • MegamouseM Megamouse

            Is there a simple way to set QT_AUTO_SCREEN​_SCALE_FACTOR per application in windows 10 ?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Megamouse
            Hi
            From the Windows Os itself, i think there is not.
            However, i was wondering if
            qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
            inside app would work so each app controls it.

            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