From 1bdac97af51b77ddcf4934752c2a7d0704c8f7be Mon Sep 17 00:00:00 2001 From: Noah Mayr Date: Thu, 2 Jan 2014 15:22:57 +0100 Subject: [PATCH] Fixed buttons on osx by adding the accessible plugin. --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39ff15c0..ab04c280 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -612,6 +612,18 @@ INSTALL( REGEX "d\\." EXCLUDE REGEX "_debug\\." EXCLUDE ) +IF(APPLE) + # Accessible plugin to make buttons look decent on osx + INSTALL( + DIRECTORY "${QT_PLUGINS_DIR}/accessible" + DESTINATION ${PLUGIN_DEST_DIR} + COMPONENT Runtime + REGEX "quick" EXCLUDE + REGEX "d\\." EXCLUDE + REGEX "_debug\\." EXCLUDE + ) +ENDIF() + endif() # qtconf