diff --git a/CMakeLists.txt b/CMakeLists.txt index fff5ee905..ac7c8acfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -292,12 +292,11 @@ add_compile_definitions(QT_DISABLE_DEPRECATED_BEFORE=0x050f00) ### DEPENDENCIES # -find_package(Qt5 ${QT_VERSION} CONFIG REQUIRED Concurrent Core Gui LinguistTools Network Svg Widgets) +find_package(Qt5 ${QT_VERSION} CONFIG REQUIRED Concurrent Core DBus Gui LinguistTools Network Svg Widgets) if(WITH_QML) find_package(Qt5 ${QT_VERSION} CONFIG REQUIRED Quick QuickWidgets) endif() -# Optional Qt parts -find_package(Qt5DBus CONFIG) +# Note that some modules need more Qt modules, optionally. find_package(YAMLCPP ${YAMLCPP_VERSION} REQUIRED) if(INSTALL_POLKIT) diff --git a/src/modules/keyboard/CMakeLists.txt b/src/modules/keyboard/CMakeLists.txt index 10868a269..116aaa132 100644 --- a/src/modules/keyboard/CMakeLists.txt +++ b/src/modules/keyboard/CMakeLists.txt @@ -4,8 +4,6 @@ # SPDX-License-Identifier: BSD-2-Clause # -find_package(Qt5 ${QT_VERSION} CONFIG REQUIRED Core DBus) - calamares_add_plugin(keyboard TYPE viewmodule EXPORT_MACRO PLUGINDLLEXPORT_PRO diff --git a/src/modules/keyboard/Config.cpp b/src/modules/keyboard/Config.cpp index f8d9f8d01..a4ceb09b9 100644 --- a/src/modules/keyboard/Config.cpp +++ b/src/modules/keyboard/Config.cpp @@ -27,9 +27,9 @@ #include #include -#include -#include -#include +#include +#include +#include /* Returns stringlist with suitable setxkbmap command-line arguments * to set the given @p model.