Make sure libQtPlatformSupport has proper flags

If we don't have Q_FONTCONFIGDATABASE flag, QGenericFontDatabase
will be defined to QBasicUnixFontDatabase even when fontconfig is
available.

Change-Id: I0e79ed8488163cea32352e3fc300acd92ca4bd93
Reviewed-on: http://codereview.qt-project.org/4962
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Jiang Jiang 2011-09-15 11:47:06 +02:00 committed by Qt by Nokia
parent a021f26148
commit 80ac315ded

View File

@ -1,5 +1,6 @@
DEFINES += QT_COMPILES_IN_HARFBUZZ DEFINES += QT_COMPILES_IN_HARFBUZZ
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src
CONFIG += qpa/genericunixfontdatabase
unix { unix {
include($$PWD/basicunix/basicunix.pri) include($$PWD/basicunix/basicunix.pri)