Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.8.0 Alpha
-
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
- duplicates
-
QTBUG-54911 New configure uses host freetype when cross compiling
- Closed
-
QTBUG-54100 configure --no-freetype causes compile failure down the line
- Closed