今天在编译calamares
的时候,一直报缺失qt5-qtwebengine
Could not find a package configuration file provided by "Qt5WebEngine" with
any of the following names:
Qt5WebEngineConfig.cmake
qt5webengine-config.cmake
Centos7的官方库没有相关包,后来经过千辛万苦才找到
一、添加源
首先进行备份
cp -rf /etc/yum.repos.d /etc/yum.repos.d.bak
添加源
curl 'https://copr.fedorainfracloud.org/coprs/scx/qt5-qtwebengine/repo/epel-7/scx-qt5-qtwebengine-epel-7.repo' > /etc/yum.repos.d/scx-qt5-qtwebengine-epel-7.repo
二、更新源
yum clean all
yum makecache
三、安装qt5-qtwebengine编译环境
yum install -y qt5-qtwebengine-devel.x86_64
完成