Warn when -fontconfig forces -system-freetype
Let the user know that configure's switch from -no-freetype/-qt-freetype to -system-freetype when -fontconfig is used is expected. Task-number: QTBUG-35886 Change-Id: I95daaeffb0878bb785149f314096405a5c0fdc7a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
8d5b1bdca8
commit
d179931ada
10
configure
vendored
10
configure
vendored
@ -5360,6 +5360,7 @@ if [ "$CFG_OPENGL" = "es2" ]; then
|
||||
fi
|
||||
|
||||
# auto-detect FontConfig support
|
||||
ORIG_CFG_FREETYPE="$CFG_FREETYPE"
|
||||
if [ "$CFG_FONTCONFIG" != "no" ]; then
|
||||
if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --exists fontconfig --exists freetype2 2>/dev/null; then
|
||||
QT_CFLAGS_FONTCONFIG=`$PKG_CONFIG --cflags fontconfig --cflags freetype2 2>/dev/null`
|
||||
@ -7405,6 +7406,15 @@ if [ "$CFG_SHARED" = "no" ]; then
|
||||
echo "loaded plugins. Make sure to import all needed static plugins,"
|
||||
echo "or compile needed modules into the library."
|
||||
fi
|
||||
if [ "$CFG_FREETYPE" = "system" ]; then
|
||||
if [ "$ORIG_CFG_FREETYPE" = "qt" ]; then
|
||||
echo
|
||||
echo "WARNING: Bundled FreeType can't be used. FontConfig use requires system FreeType."
|
||||
elif [ "$ORIG_CFG_FREETYPE" = "no" ]; then
|
||||
echo
|
||||
echo "WARNING: FreeType can't be disabled. FontConfig use requires system FreeType."
|
||||
fi
|
||||
fi
|
||||
if [ "$CFG_OPENSSL" = "linked" ] && [ "$OPENSSL_LIBS" = "" ]; then
|
||||
echo
|
||||
echo "NOTE: When linking against OpenSSL, you can override the default"
|
||||
|
Loading…
Reference in New Issue
Block a user