mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:37:44 +00:00
Ladybird: Do not require Qt6 Multimedia if PulseAudio is available
If PulseAudio is available, the Qt6 audio plugin will never be used. So let's remove it from the build. Note that on macOS, the Qt6 audio plugin will be used if the Qt chrome is enabled. Otherwise, Audio Unit will be used for the AppKit chrome.
This commit is contained in:
parent
b98864e022
commit
bbdd624d50
4 changed files with 23 additions and 8 deletions
|
@ -95,7 +95,7 @@ if (ENABLE_QT)
|
|||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Widgets Network Multimedia)
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Widgets Network)
|
||||
elseif (APPLE)
|
||||
find_library(COCOA_LIBRARY Cocoa)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue