buildroot for qt 5.15.2 compile!
-
hello,
I am intergrate buidroot for qt 5.15.2 compile in ubuntu 18.04 platform developer.now have some error blew,pls help me? why do have error complie webengine ?
/px30_linux_sdk_release_v1.8/buildroot/output/host/mkspecs/devices/linux-buildroot-g++ -o .obj/plugin.o plugin.cpp
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
pkgresult = exec_script(pkg_config_script, args, "value")
^----------
Current dir: /opt/github_px30_liux_sdk_release_v1.8/px30_linux_sdk_release_v1.8/buildroot/output/build/qt5webengine-5.15.2/src/pdf/release/
Command: /opt/github_px30_liux_sdk_release_v1.8/px30_linux_sdk_release_v1.8/buildroot/output/host/bin/python2 /opt/github_px30_liux_sdk_release_v1.8/px30_linux_sdk_release_v1.8/buildroot/output/build/qt5webengine-5.15.2/src/3rdparty/chromium/build/config/linux/pkg-config.py -p /opt/github_px30_liux_sdk_release_v1.8/px30_linux_sdk_release_v1.8/buildroot/output/build/qt5webengine-5.15.2/host-bin/host-pkg-config harfbuzz
Returned 1.
stderr:Package harfbuzz was not found in the pkg-config search path.
Perhaps you should add the directory containing `harfbuzz.pc'
to the PKG_CONFIG_PATH environment variable
Package 'harfbuzz', required by 'world', not found
Could not run pkg-config.See //third_party/harfbuzz-ng/BUILD.gn:15:3: whence it was called.
pkg_config("harfbuzz_from_pkgconfig") {
^--------------------------------------
See //third_party/BUILD.gn:86:25: which caused the file to be included.
public_configs += [ "//third_party/harfbuzz-ng:harfbuzz_from_pkgconfig" ]
^--------------------------------------------------
rm -f libqtwebengineplugin.so -
@lille said in buildroot for qt 5.15.2 compile!:
harfbuzz
So, did you install libharfbuzz-dev package?
-
hell ,thanks you replay!
I doing crosscompile qt source for rockchip px30 with ubuntu 18.04 host,Be sure must install libharfbuzz-dev package in host developer?for conveninece ,I alreadly insatll it package.below:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libharfbuzz-dev is already the newest version (1.7.2-1ubuntu1).
The following packages were automatically installed and are no longer required:
gir1.2-goa-1.0 gir1.2-snapd-1 linux-hwe-5.4-headers-5.4.0-84
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. -
@lille said in buildroot for qt 5.15.2 compile!:
Be sure must install libharfbuzz-dev package in host developer?
No. If you're cross compiling then all needed libraries/headers have to be in your sysroot.