MSVC: Disable warning C4996 for freetype
Change-Id: I22be0faca29989142cd2fa0eaed6846fc40d3f4b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
826d108410
commit
ca6fb5436d
@ -68,6 +68,9 @@ contains(QT_CONFIG, freetype) {
|
|||||||
$$QT_FREETYPE_DIR/builds/unix
|
$$QT_FREETYPE_DIR/builds/unix
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# disable warnings about "unsafe" methods in C code
|
||||||
|
msvc:QMAKE_CFLAGS_WARN_ON += -wd"4996"
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
$$QT_FREETYPE_DIR/src \
|
$$QT_FREETYPE_DIR/src \
|
||||||
$$QT_FREETYPE_DIR/include
|
$$QT_FREETYPE_DIR/include
|
||||||
@ -84,4 +87,3 @@ contains(QT_CONFIG, freetype) {
|
|||||||
# pull in the proper freetype2 include directory
|
# pull in the proper freetype2 include directory
|
||||||
include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
|
include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user