Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0
-
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.