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?!