这是输出。注意,我已经extra-cmake-modules
安装了。ubuntu 21.10 rpi 4
CMake Error at CMakeLists.txt:16 (include):
include could not find load file:
ECMFindQmlModule
Installing in /usr/local. Run /home/lnee/Downloads/plasma-bigscreen-master/build/prefix.sh to set the environment for plasma-big-launcher.
fatal: not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:50 (ecm_find_qmlmodule):
Unknown CMake command "ecm_find_qmlmodule".
-- Configuring incomplete, errors occurred!
See also "/home/lnee/Downloads/plasma-bigscreen-master/build/CMakeFiles/CMakeOutput.log".
答案1
编译并安装等离子大屏幕在 Ubuntu 21.10 上可以关注ArchLinux PKGBUILD来自extra-cmake-modules
git 的内容如下:
sudo apt-get update
sudo apt-get autopurge extra-cmake-modules
sudo apt-get install git build-essential cmake libkf5activities-dev \
libkf5activitiesstats-dev libkf5plasma-dev kirigami2-dev libkf5declarative-dev \
libkf5kcmutils-dev libkf5notifications-dev libkf5kio-dev libkf5wayland-dev \
plasma-workspace-dev qtmultimedia5-dev appstream qtbase5-dev qtchooser \
qt5-qmake qtbase5-dev-tools qttools5-dev 'python3-sphinxcontrib*'
cd ~/Downloads
git clone https://invent.kde.org/frameworks/extra-cmake-modules
cd extra-cmake-modules
cmake .
make
sudo make install
cd ~/Downloads
git clone https://invent.kde.org/plasma/plasma-bigscreen.git
cd plasma-bigscreen
cmake .
make -j$(nproc)
sudo make install