diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-24 10:40:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-24 10:40:05 +0200 |
commit | de97124a4bd12bdb903eddff27d61fec288af48c (patch) | |
tree | 73513082147cb3a48f510f4898a669784cdc810c | |
parent | 019239d9b87314de5fb240b6e721d534a248aea2 (diff) |
cmake, qt: add qt.conf to try fix hidpi
User confirms dpiawareness=0 fixes hidpi.
-rw-r--r-- | bin/qt.conf | 2 | ||||
-rw-r--r-- | cmake/opentrack-install.cmake | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bin/qt.conf b/bin/qt.conf new file mode 100644 index 00000000..89808c16 --- /dev/null +++ b/bin/qt.conf @@ -0,0 +1,2 @@ +[Platforms]
+WindowsArguments = dpiawareness=0
\ No newline at end of file diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake index ec3940fc..1f96be26 100644 --- a/cmake/opentrack-install.cmake +++ b/cmake/opentrack-install.cmake @@ -1,6 +1,10 @@ set(opentrack-perms PERMISSIONS WORLD_READ WORLD_EXECUTE OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE) if(WIN32) + install(FILES "${CMAKE_SOURCE_DIR}/bin/qt.conf" DESTINATION .) +endif() + +if(WIN32) install(FILES "${CMAKE_SOURCE_DIR}/bin/cleye.config" DESTINATION .) endif() |