always use fontconfig

master
Vitaliy Filippov 2015-02-15 12:57:28 +03:00
parent cef6c84e00
commit 2c0316f07d
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
#if defined(Q_OS_MAC)
# include <QtPlatformSupport/private/qcoretextfontdatabase_p.h>
#else
# include <QtPlatformSupport/private/qgenericunixfontdatabase_p.h>
# include <QtPlatformSupport/private/qfontconfigdatabase_p.h>
#endif
#include <QtPlatformSupport/private/qgenericunixeventdispatcher_p.h>
@ -103,7 +103,7 @@ QPlatformFontDatabase *PhantomIntegration::fontDatabase() const
#if defined(Q_OS_MAC)
db = new QCoreTextFontDatabase();
#else
db = new QGenericUnixFontDatabase();
db = new QFontconfigDatabase();
#endif
}
return db;