Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84707

WebEngine: Project ERROR: Could not find feature pdf-v8.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.15.1
    • 5.15
    • WebEngine
    • None
    • Gentoo Linux
    • 89d709c422fdca32e0bb0613d7ef4cfad831f706 (qt/qtwebengine/5.15)

      After 7906b030 [1], build fails with '-no-build-qtpdf':

      make[3]: Entering directory '/[...]/src/pdf'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/[...]/src/pdf'
      ( test -e Makefile.gn_run || /usr/lib64/qt5/bin/qmake -o Makefile.gn_run /[...]/src/pdf/gn_run.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-march=znver1 -O1 -g3 -fno-optimize-sibling-calls -fno-omit-frame-pointer' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=znver1 -O1 -g3 -fno-optimize-sibling-calls -fno-omit-frame-pointer' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile.gn_run
      Project ERROR: Could not find feature pdf-v8.
      

      Doing

      # this needs to be last line for qmake -r
      !contains(SUBDIRS, core): SUBDIRS += core
      
      qtConfig(build-qtpdf) {
          !contains(SUBDIRS, pdf): SUBDIRS += pdf
      }
      

      instead helps, but I'm not sure it's the correct way forward, so I didn't go for a patch yet.

      Configure:

      Running configuration tests...
      Checking for architecture supported... yes
      Checking for bison... yes
      Checking for submodule initialized... yes
      Checking for build path without whitespace... yes
      Checking for platform supported... 
      Checking for gperf... yes
      Checking for flex... yes
      Checking for python2... /mnt/rasd/tmmmp/portage/dev-qt/qtwebengine-5.15.9999/temp/python2.7/bin/python2
      Checking for host pkg-config... /usr/bin/pkg-config
      Checking for glibc > 2.16... yes
      Checking for khr... yes
      Checking for nss >= 3.26... yes
      Checking for d-bus... yes
      Checking for fontconfig... yes
      Checking for x11... yes
      Checking for libdrm... yes
      Checking for xcomposite... yes
      Checking for xcursor... yes
      Checking for xi... yes
      Checking for xtst... yes
      Checking for jumbo build merge limit... 8
      Checking for libavcodec libavformat libavutil... yes
      Checking for opus... yes
      Checking for libwebp, libwebpmux and libwebpdemux... yes
      Checking for freetype >= 2.4.2... yes
      Checking for glib-2.0 >= 2.32.0... yes
      Checking for harfbuzz >= 2.2.0... yes
      Checking for icu >= 64... yes
      Checking for compatible jpeglib... yes
      Checking for jsoncpp... yes
      Checking for lcms2... yes
      Checking for libevent... yes
      Checking for libvpx... yes
      Checking for compatible libxml2 and libxslt... yes
      Checking for minizip... yes
      Checking for system ninja... yes
      Checking for libpng >= 1.6.0... yes
      Checking for protobuf... no
      Checking for re2... yes
      Checking for snappy... yes
      Checking for zlib... yes
      Checking for alsa... yes
      Checking for embedded build... no
      Checking for linker supports -z noexecstack... yes
      Checking for poppler-cpp... yes
      Done running configuration tests.
      
      Configure summary:
      
      Qt WebEngine Build Tools:
        Use System Ninja ....................... yes
        Use System Gn .......................... no
        Jumbo Build Merge Limit ................ 8
        Developer build ........................ no
        Sanitizer .............................. no
        QtWebEngine required system libraries:
          fontconfig ........................... yes
          dbus ................................. yes
          nss .................................. yes
          khr .................................. yes
          glibc ................................ yes
        QtWebEngine required system libraries for qpa-xcb:
          x11 .................................. yes
          libdrm ............................... yes
          xcomposite ........................... yes
          xcursor .............................. yes
          xi ................................... yes
          xtst ................................. yes
        Optional system libraries used:
          re2 .................................. yes
          icu .................................. yes
          libwebp, libwebpmux and libwebpdemux . yes
          opus ................................. yes
          ffmpeg ............................... yes
          libvpx ............................... yes
          snappy ............................... yes
          glib ................................. yes
          zlib ................................. yes
          minizip .............................. yes
          libevent ............................. yes
          jsoncpp .............................. yes
          protobuf ............................. no
          libxml2 and libxslt .................. yes
          lcms2 ................................ yes
          png .................................. yes
          JPEG ................................. yes
          harfbuzz ............................. yes
          freetype ............................. yes
      Qt WebEngineCore:
        Embedded build ......................... no
        Full debug information ................. no
        Pepper Plugins ......................... yes
        Printing and PDF ....................... yes
        Proprietary Codecs ..................... yes
        Spellchecker ........................... yes
        Native Spellchecker .................... no
        WebRTC ................................. yes
        Geolocation ............................ no
        WebChannel support ..................... yes
        Kerberos Authentication ................ no
        Extensions ............................. yes
        Support qpa-xcb ........................ yes
        Use ALSA ............................... yes
        Use PulseAudio ......................... no
      Qt WebEngineQml:
        Support Qt WebEngine Qml ............... yes
        UI Delegates ........................... yes
        Test Support ........................... no
      Qt WebEngineWidgets:
        Support Qt WebEngine Widgets ........... yes
      
      Note: QtPdf build is disabled by user.
      
      Note: The following modules are not being compiled in this configuration:
          pdf
          pdfwidgets
      
      Qt is now configured for building. Just run 'make'.
      Once everything is built, you must run 'make install'.
      Qt will be installed into '/usr'.
      
      Prior to reconfiguration, make sure you remove any leftovers from
      the previous build.
      
      >>> Source configured.
      

      1. https://code.qt.io/cgit/qt/qtwebengine.git/commit/?h=5.15&id=7906b030dc632557f6a2e8cbb471ebf38ef2121c

        For Gerrit Dashboard: QTBUG-84707
        # Subject Branch Project Status CR V

            michal Michal Klocek
            chiitoo chiitoo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes