https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #9 from Zhenya Zenitur@yandex.ru --- Confirm, it's building now. P.S. Can you help me to re-enable Fontconfig support for Qt5? In the version 5.2 it was worked for CentOS 5 and Fontconfig 2.4, but in the version 5.3 I have got:
fontdatabases/fontconfig/qfontconfigdatabase.cpp: In function ‘int weightFromFcWeight(int)’: fontdatabases/fontconfig/qfontconfigdatabase.cpp:85:26: error: ‘FC_WEIGHT_ULTRABLACK’ was not declared in this scope else if (fcweight <= FC_WEIGHT_ULTRABLACK) ^
The solution is set -no-fontconfig in configure. Developers said "update in to 2.5 or newer" there: https://www.mail-archive.com/interest@qt-project.org/msg13264.html Maybe I can add some %ifndef instead of doing that?