summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-08-09 12:25:20 (GMT)
committerKevin Smith <kevin.smith@isode.com>2015-08-11 11:03:58 (GMT)
commit22ea5735ad1a105a4294b7475aba58646ef3ee8a (patch)
treeb9c1e8cf4c16cc86f2923ac20bedd8cd2e89da48 /Swift
parentd376c5a7ef5463094b83993d58be58d69b467c4d (diff)
downloadswift-22ea5735ad1a105a4294b7475aba58646ef3ee8a.zip
swift-22ea5735ad1a105a4294b7475aba58646ef3ee8a.tar.bz2
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
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/Swift.qrc1
-rw-r--r--Swift/QtUI/qt.conf2
2 files changed, 3 insertions, 0 deletions
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 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
+ <file alias="qt/etc/qt.conf">qt.conf</file>
<file alias="logo-icon-16.png">../resources/logo/logo-icon-16.png</file>
<file alias="logo-chat-16.png">../resources/logo/logo-chat-16.png</file>
<file alias="logo-shaded-text.256.png">../resources/logo/logo-shaded-text.256.png</file>
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