Windows: Fix warnings about being unable to load fonts from font dir.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 13 Jun 2012 10:42:45 +0000 (12:42 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 14 Jun 2012 01:05:27 +0000 (03:05 +0200)
commit1539e8e310ee3da8ae44a4b5b28d0f72b1345eb4
treefe8ea98bcde7533d8ffd3bb4f680e2a72f1d1f80
parent0346d605e3dc3e00f1dc55a16697a5316eb8e6e2
Windows: Fix warnings about being unable to load fonts from font dir.

Do not call QPlatformFontDatabase::populateFontDatabase(), which
tries to load qpf2-fonts from the Qt library directory.
This directory is not installed on Windows.

Note: This affects non-in-source builds only.

Task-number: QTBUG-26066
Change-Id: I5782e61965958fc48e0edd7a3d50eef325529708
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/plugins/platforms/windows/qwindowsfontdatabase.cpp
src/plugins/platforms/windows/qwindowsfontdatabase_ft.cpp