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. 4K Resolution Problem While Switching The Application From High to Low
Qt 6.11 is out! See what's new in the release blog

4K Resolution Problem While Switching The Application From High to Low

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.2k Views 2 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.
  • S Offline
    S Offline
    Sebastian
    wrote on last edited by
    #1

    Dear Friends,
    I have a Qt application when i am trying to switching between the low resolution to high resolution then its a problem.what we want if we switch between low resolution to high resolution it should automatically adjust .so first i read about that i found Qt Supports the high resolution.

    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    Or
    QT_AUTO_SCREEN_SCALE_FACTOR=1
    

    I tried the both ways the first one does not work.The second one is working but partially when i move from low resolution to high resolution(4K) then it adjust and if again i am moving back to high to low then it changes to bigger size.
    Please let me know if any thing i am missing.
    Waiting for your response guys.
    TIA

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

      Hi,

      What version of Qt ?
      On what OS ?
      If on Linux, what distribution ?
      What graphic hardware ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sebastian
        wrote on last edited by
        #3

        @SGaist : I am using the Qt 5.8.0.
        i am using the windows 10 Enterprise

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Again: what graphic hardware ?
          What driver ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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