From 22ea5735ad1a105a4294b7475aba58646ef3ee8a Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Sun, 9 Aug 2015 14:25:20 +0200 Subject: Disabling HiDPI support for Qt on Windows This is an intermediate solution to the problem that the web views of Qt do not scale to the correct size out of the box. Disabling support for HiDPI mode will let Windows do pixel based scaling. The resulting appearance is not as clear but the web views remain readable. Test-Information: Tested with Qt 5.4.2 on Windows 8. Change-Id: I9460902e728e6190c8382d4eb954135470654e5c diff --git a/Swift/QtUI/Swift.qrc b/Swift/QtUI/Swift.qrc index eeef80d..a3a95cc 100644 --- a/Swift/QtUI/Swift.qrc +++ b/Swift/QtUI/Swift.qrc @@ -1,6 +1,7 @@ + qt.conf ../resources/logo/logo-icon-16.png ../resources/logo/logo-chat-16.png ../resources/logo/logo-shaded-text.256.png diff --git a/Swift/QtUI/qt.conf b/Swift/QtUI/qt.conf new file mode 100644 index 0000000..2620cdc --- /dev/null +++ b/Swift/QtUI/qt.conf @@ -0,0 +1,2 @@ +[Platforms] +WindowsArguments = dpiawareness=0 \ No newline at end of file -- cgit v0.10.2-6-g49f6