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

Building Qt5 on Windows will fail when configured with -system-freetype

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.1
    • 5.2.0
    • Build System
    • None
    • Windows 7 x64
      Microsoft VisualC++ 2012 Update 4
    • 1e971f855546f1b94c7cdf7a31ad64ebe6c3e23d

    Description

      Building Qt v5.2.0 will fail in a Windows environment when configure.exe is
      invoked with "-system-freetype". However "-system-libpng" works fine.

      The error message indicates multiple unresolved references to FreeType's
      funtions, eg.:

      qbasicfontdatabase.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_imp_FT_New_Memory_Face" in Funktion ""public: static class QStringList_cdecl QBasicFontDatabase::addTTFile(class QByteArray const &,class QByteArrayconst &)" (?addTTFile@QBasicFontDatabase@@SA?AVQStringList@@AEBVQByteArray@@0@Z)".

      I assume the freetype2.lib is not added to LIBS or an invalid linkage is
      specified.

      Attachments

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

        Activity

          People

            jmcdonnell James McDonnell
            omarhawk Carsten Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes