Maldela / fancontrol-gui

GUI for Fancontrol. It uses the KAuth module of the KDE Frameworks 5 to write the generated config file. Furthermore it communicates with systemd via dbus to control the fancontrol service. If you want to compile without systemd support set the -DNO_SYSTEMD option.
GNU General Public License v2.0
309 stars 31 forks source link

Could NOT find KF5Notifications #76

Open idwwwoqq808 opened 1 year ago

idwwwoqq808 commented 1 year ago

I run "cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on -DBUILD_PLASMOID=on" to build with cmake but it gives me the following errors: `-- qmlplugindump failed for QtQuick. -- Could NOT find QtQuick-QMLModule (missing: QtQuick-QMLModule_FOUND) -- qmlplugindump failed for QtQuick.Controls. -- Could NOT find QtQuick.Controls-QMLModule (missing: QtQuick.Controls-QMLModule_FOUND) -- qmlplugindump failed for QtQuick.Layouts. -- Could NOT find QtQuick.Layouts-QMLModule (missing: QtQuick.Layouts-QMLModule_FOUND) -- qmlplugindump failed for QtQuick.Dialogs. -- Could NOT find QtQuick.Dialogs-QMLModule (missing: QtQuick.Dialogs-QMLModule_FOUND) -- qmlplugindump failed for org.kde.kirigami. -- Could NOT find org.kde.kirigami-QMLModule (missing: org.kde.kirigami-QMLModule_FOUND) -- Compiling for Systemd -- Build the standalone application -- Could NOT find KF5Notifications (missing: KF5Notifications_DIR) -- Could NOT find KF5Notifications: found neither KF5NotificationsConfig.cmake nor kf5notifications-config.cmake CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find KF5 (missing: Notifications) (found version "5.68.0") Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args) fancontrol-gui/CMakeLists.txt:15 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/idwwwoqq808/Downloads/fancontrol-gui/build/CMakeFiles/CMakeOutput.log". ` I already installed the necessary packages provided by win8linux: https://github.com/Maldela/fancontrol-gui/issues/8 I'm compiling on Ubuntu 20.04.