Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. buildroot for qt 5.15.2 compile!
Forum Updated to NodeBB v4.3 + New Features

buildroot for qt 5.15.2 compile!

Scheduled Pinned Locked Moved Unsolved QtWebEngine
5 Posts 3 Posters 957 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lille
    wrote on last edited by
    #1

    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

    jsulmJ 1 Reply Last reply
    0
    • L lille

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @lille said in buildroot for qt 5.15.2 compile!:

      harfbuzz

      So, did you install libharfbuzz-dev package?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lille
        wrote on last edited by
        #3

        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.

        jsulmJ 1 Reply Last reply
        0
        • L lille

          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.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Macktyo
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved