title: How to get sharp UI on high dpi with Qt 5.6?
body: <p>I am developing on a 4k monitor and its a pain...</p>
  
  <p>Finally I managed to set up QtDesigner and then ecountered this issue:</p>
  
  <p>When you use <code>QT_AUTO_SCREEN_SCALE_FACTOR=1</code> and compile an app with radiobutton and other basic widgets, it looks scaled on a 4k screen.
  Otherwise the dimensions of controls are correct and as expected, its just not sharp, but rather pixelated.</p>
  
  <p>I am running on Windows 10 Home 64bit on 4k screen with 200% DPI zoom, using Qt 5.6 RC msvc2015 64bit and tried with achieving the same results using </p>
  
  <pre><code>QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/fV0OR.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/fV0OR.jpg" alt="dcreenshot"></a></p>
  
  <p>If I use</p>
  
  <pre><code>QGuiApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
  </code></pre>
  
  <p>the controls are sharp, text size is ok BUT all dimensions are much smaller.</p>
  
  <p>How do I make controls sharp on high DPI screen?</p>