问题描述
我在RaspBerry Pi 4中安装了QT 5.11.3。 我使用以下命令在RPI上安装QT
sudo apt-get install qt5-*
sudo apt-get install libqt5*
sudo apt-get install qtcreator
现在,我正尝试从此处https://code.qt.io/cgit/qt/qtwebengine.git/上为Qt 5.11.3在RaspBerry Pi 4上安装QtWebEngineView
问题是当我运行 “ qmake -r” 时,出现以下错误
Running configuration tests...
Done running configuration tests.
Configure summary:
Qt WebEngine:
Embedded build ......................... no
Pepper Plugins ......................... yes
Printing and PDF ....................... yes
Proprietary Codecs ..................... no
Spellchecker ........................... yes
Native Spellchecker .................... no
WebRTC ................................. yes
Use System Ninja ....................... yes
Geolocation ............................ no
Use v8 snapshot ........................ yes
Use ALSA ............................... yes
Use pulseAudio ......................... yes
Optional system libraries used:
re2 .................................. no
icu .................................. no
libwebp,libwebpmux and libwebpdemux . no
opus ................................. no
ffmpeg ............................... no
libvpx ............................... no
snappy ............................... no
libsrtp .............................. no
glib ................................. yes
zlib ................................. yes
minizip .............................. no
libevent ............................. no
jsoncpp .............................. no
protobuf ............................. no
libxml2 and libxslt .................. no
lcms2 ................................ no
png .................................. yes
JPEG ................................. yes
harfbuzz ............................. no
freetype ............................. no
required system libraries:
fontconfig ........................... no
dbus ................................. yes
nss .................................. yes
khr .................................. yes
glibc ................................ yes
required system libraries for qpa-xcb:
libdrm ............................... yes
xcomposite ........................... yes
xcursor .............................. yes
xi ................................... yes
xrandr ............................... yes
xtst ................................. yes
Qt is Now configured for building. Just run 'make'.
Once everything is built,Qt is installed.
You should NOT run 'make install'.
Note that this build cannot be deployed to other machines or devices.
Prior to reconfiguration,make sure you remove any leftovers from
the prevIoUs build.
A suitable version of fontconfig Could not be found.
QtWebEngine will not be built.
loaded result for library config.qtwebengine.libraries.webengine-fontconfig
Trying source 0 (type pkgConfig) of library webengine-fontconfig ...
+ /usr/bin/arm-linux-gnueabihf-pkg-config --exists --silence-errors fontconfig
pkg-config did not find package.
=> source produced no result.
test config.qtwebengine.libraries.webengine-fontconfig Failed
问题是已经安装了“ libfontconfig1-dev”。
有人能指出我正确的方向吗?
谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)