]> cloud.milkyroute.net Git - dolphin.git/blobdiff - CMakeLists.txt
InformationPanel: Port from Phonon to QtMultimedia
[dolphin.git] / CMakeLists.txt
index 2a074067e05505f9f9160eebf935f215ce6158ab..e3b966eb8ef9b874b85db9bf3a8eb320953d4496 100644 (file)
@@ -103,8 +103,6 @@ find_package(KF6 ${KF6_MIN_VERSION} OPTIONAL_COMPONENTS
     DocTools
 )
 
-find_package(Phonon4Qt6 CONFIG REQUIRED)
-
 find_package(PackageKitQt6)
 set_package_properties(PackageKitQt6
         PROPERTIES DESCRIPTION "Software Manager integration"
@@ -138,7 +136,12 @@ set_package_properties(KF6BalooWidgets PROPERTIES DESCRIPTION "Baloos Widgets"
 if (KF6Baloo_FOUND AND KF6BalooWidgets_FOUND)
     message(STATUS "Baloo packages are found")
     set(HAVE_BALOO TRUE)
-else()
+
+    find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
+        Multimedia
+        MultimediaWidgets
+    )
+else ()
     message(WARNING "Baloo packages not found. They are needed for the metadata features of Dolphin (including the information panel).")
 endif()