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

qtwebengine build fails with harfbuzz-3.0.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 5.15.7, 6.2.1
    • 5.15, 6.2.0 RC2
    • WebEngine
    • None
    • harfbuzz-3.0.0
    • Linux/X11
    • f0a1cb8da24518c03858b85378f9ad82b0603a1a (qt/qtwebengine/5.15.7) b55ebadc3013e7f197cde1d2054002b34898ae6c (qt/qtwebengine/6.2.1)

    Description

      cmake detect and uses system harfbuzz, but build fails with harfbuzz-3.0.0

      qtwebengine/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc: In function 'sk_sp<SkData> paint_preview::SubsetFont(SkTypeface*, const paint_preview::GlyphUsage&)':
      ../../../../../../../../var/git/qt/qtwebengine/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc:74:3: error: 'hb_subset_input_set_retain_gids' was not declared in this scope; did you mean 'hb_subset_input_set_flags'?
         74 |   hb_subset_input_set_retain_gids(input.get(), true);
            |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |   hb_subset_input_set_flags
      ../../../../../../../../var/git/qt/qtwebengine/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc:76:35: error: 'hb_subset' was not declared in this scope; did you mean 'hb_set_set'?
         76 |   HbScoped<hb_face_t> subset_face(hb_subset(face.get(), input.get()));
            |                                   ^~~~~~~~~
            |                                   hb_set_set
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kiburtse Kirill Burtsev
            treeve Treeve Jelbert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes