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

[Ubuntu 20.10] Error on cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on -DBUILD_PLASMOID=on #50

Closed srdtrk closed 1 year ago

srdtrk commented 3 years ago

I've recently reinstalled my OS (from Ubuntu 20.04). I was able to build this before but now it gives me the following error:

Installing in /usr. Run /home/srdtrk/build/fancontrol-gui/build/prefix.sh to set the environment for fancontroller. CMake Error at /usr/share/ECM/modules/ECMQueryQmake.cmake:30 (message): No qmake Qt5 binary found. Can't check QT_INSTALL_BINS as required Call Stack (most recent call first): build/FindQtQuick-QMLModule.cmake:10 (query_qmake) /usr/share/ECM/modules/ECMQMLModules.cmake:42 (find_package) CMakeLists.txt:58 (ecm_find_qmlmodule)

-- Configuring incomplete, errors occurred!

Maldela commented 3 years ago

Looks like ECM can't find qmake on your system. Qmake should be part of qt5-base/core.