From de97124a4bd12bdb903eddff27d61fec288af48c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 24 Jul 2016 10:40:05 +0200 Subject: cmake, qt: add qt.conf to try fix hidpi User confirms dpiawareness=0 fixes hidpi. --- bin/qt.conf | 2 ++ cmake/opentrack-install.cmake | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 bin/qt.conf 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,5 +1,9 @@ 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() -- cgit v1.2.3