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

Compilation Error in qwindowsfontdatabase.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 5.0.0
    • 5.0.0
    • GUI: Font handling
    • None
    • Windows 7, Visual Studio 2010.

    Description

      It seems a recent change has broken compilation of Qt5.

      I am using vs2010, qmake command line is (NB: -no-freetype):
      configure.exe -opensource -confirm-license -platform win32-msvc2010 -fast -no-vcproj -no-freetype -no-libmng -no-phonon-backend -no-multimedia -no-webkit -no-v8 -no-style-plastique -no-style-motif -no-style-cde -no-style-cleanlooks -nomake examples -nomake tests

      got error:

      .\qwindowsfontdatabase.cpp(806) : error C2227: left of '->supported_scripts' must point to class/struct/union/generic type

      the code related is:

      HB_Face hbFace = few->harfbuzzFace();
      if (!hbFace || !hbFace->supported_scripts[script]) {

      and HB_Face is just a typedef of void*

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            cg31 Gang Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes