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

[REG 5.7 -> 5.8] System freetype not detected by configure when cross-compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.8.0 Alpha
    • Build System
    • None

    Description

      The QMAKE_CFLAGS_FONTCONFIG and QMAKE_LIBS_FONTCONFIG used to be set by configure but is now no longer set.

      $ grep -Hnr QMAKE_.*_FONTCONFIG .
      ./config.tests/unix/freetype/freetype.pri:13: QMAKE_CFLAGS += $$QMAKE_CFLAGS_FONTCONFIG
      ./config.tests/unix/freetype/freetype.pri:14: QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_FONTCONFIG
      ./src/platformsupport/fontdatabases/fontconfig/fontconfig.pri:6:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_FONTCONFIG

      As a result, detecting system freetype with config.tests/unix/freetype fails when cross-compiling:
      [...]/config.tests/unix/freetype/freetype.cpp:40:22: fatal error: ft2build.h: No such file or directory
      #include <ft2build.h>

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              net147 Jonathan Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes