From 2c674eca3accbc6dab6f5aacbf34f7bd85af767e Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Mon, 27 Jan 2025 21:58:15 -0500 Subject: [PATCH] Fix icons in Spectrum Analyzer (#7667) Make Qt::Svg mandatory; bundle svg libraries --- CMakeLists.txt | 3 ++- cmake/install/CMakeLists.txt | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2bad6de0ac5..66dc307e3dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -171,7 +171,7 @@ check_library_exists(rt shm_open "" LMMS_HAVE_LIBRT) LIST(APPEND CMAKE_PREFIX_PATH "${CMAKE_INSTALL_PREFIX}") -FIND_PACKAGE(Qt5 5.9.0 COMPONENTS Core Gui Widgets Xml REQUIRED) +FIND_PACKAGE(Qt5 5.9.0 COMPONENTS Core Gui Widgets Xml Svg REQUIRED) FIND_PACKAGE(Qt5 COMPONENTS LinguistTools QUIET) include_directories(SYSTEM @@ -186,6 +186,7 @@ SET(QT_LIBRARIES Qt5::Gui Qt5::Widgets Qt5::Xml + Qt5::Svg ) IF(LMMS_BUILD_LINUX AND WANT_VST) diff --git a/cmake/install/CMakeLists.txt b/cmake/install/CMakeLists.txt index 3f6e3624ecb..fea9b62ce5d 100644 --- a/cmake/install/CMakeLists.txt +++ b/cmake/install/CMakeLists.txt @@ -1,6 +1,9 @@ SET(PLUGIN_FILES "") IF(LMMS_BUILD_WIN32) - INSTALL(FILES $ DESTINATION platforms) + INSTALL(FILES $ DESTINATION platforms) + INSTALL(FILES $ DESTINATION iconengines) + INSTALL(FILES $ DESTINATION imageformats) + INSTALL(FILES $ DESTINATION .) ENDIF() IF(LMMS_BUILD_WIN32 OR LMMS_INSTALL_DEPENDENCIES)