From 1dd30598fd44b2335cfca34de7e86509ffd36d34 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 7 Mar 2017 12:40:38 +0100 Subject: [PATCH] Also add QT5Svg_plugins bundle as QT_GUI includes all image formats but not sag --- companion/src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index a3040e7aa..40dd6ce2b 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -482,7 +482,6 @@ IF(APPLE) RUNTIME DESTINATION bin COMPONENT Runtime ) - install(FILES ${simulator_plugins} DESTINATION "${companion_res_dir}" COMPONENT Runtime) # Write qt.conf to tell qt where to find it plugins @@ -496,7 +495,7 @@ IF(APPLE) install(DIRECTORY ${PROJECT_SOURCE_DIR}/companion/targets/mac/qt_menu.nib DESTINATION "${companion_res_dir}" COMPONENT Runtime) # manually add the required plugins - foreach (plugin ${Qt5Multimedia_PLUGINS} ${Qt5PrintSupport_PLUGINS} ${Qt5Gui_PLUGINS}) + foreach (plugin ${Qt5Multimedia_PLUGINS} ${Qt5PrintSupport_PLUGINS} ${Qt5Gui_PLUGINS} ${Qt5Svg_PLUGINS}) get_target_property(QPA_PLUGIN ${plugin} LOCATION) get_filename_component(QPA_PLUGIN_FILENAME ${QPA_PLUGIN} NAME) # Todo is there a nicer way to get the QT Plugin directory name?!