fix build failure for MinGW using "system" freetype
The configure script correctly detects freetype and sets "system-freetype" in QT_CONFIG. However, the project file did not consider this possibility. Change-Id: I9ce90e7cd032a12ed7d06d3858b16c5a8d90c073 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
This commit is contained in:
parent
03f4930eca
commit
eb42be700a
@ -161,6 +161,12 @@ contains(QT_CONFIG, freetype) {
|
|||||||
contains(QT_CONFIG, system-zlib) {
|
contains(QT_CONFIG, system-zlib) {
|
||||||
DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB
|
DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB
|
||||||
}
|
}
|
||||||
|
} else:contains(QT_CONFIG, system-freetype) {
|
||||||
|
include($$QT_SOURCE_TREE/src/platformsupport/fontdatabases/basic/basic.pri)
|
||||||
|
HEADERS += \
|
||||||
|
qwindowsfontdatabase_ft.h
|
||||||
|
SOURCES += \
|
||||||
|
qwindowsfontdatabase_ft.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
OTHER_FILES += windows.json
|
OTHER_FILES += windows.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user