fix: GuiPrivate is mandatory for linux

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-12-03 18:01:21 +10:00
parent 0befe129ce
commit 6064320336

View File

@@ -567,9 +567,9 @@ endif()
function(set_citron_qt_components) function(set_citron_qt_components)
# Best practice is to ask for all components at once, so they are from the same version # Best practice is to ask for all components at once, so they are from the same version
set(CITRON_QT_COMPONENTS2 Core Widgets Concurrent GuiPrivate) set(CITRON_QT_COMPONENTS2 Core Widgets Concurrent)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
list(APPEND CITRON_QT_COMPONENTS2 DBus) list(APPEND CITRON_QT_COMPONENTS2 DBus GuiPrivate)
endif() endif()
if (CITRON_USE_QT_MULTIMEDIA) if (CITRON_USE_QT_MULTIMEDIA)
list(APPEND CITRON_QT_COMPONENTS2 Multimedia) list(APPEND CITRON_QT_COMPONENTS2 Multimedia)