Minimal plugin: Use a dummy font database for command line tools.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Fri, 29 Nov 2013 11:06:45 +0000 (12:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 4 Dec 2013 11:07:58 +0000 (12:07 +0100)
commit17333720e05bbe5d84d246c0850c8c2c047a141e
treef916a46b939d04ea70667e05205e5d1fbdcf43b1
parent03ae80359f8b0cb39ae5e95902383869314716d9
Minimal plugin: Use a dummy font database for command line tools.

Suppress warnings like:
QFontDatabase: Cannot find font directory '...' - is Qt installed correctly?
occurring for example when using qmlplugindump.

Add option flags (similar to Windows plugin) to the integration
class to be used for QT_DEBUG_BACKINGSTORE and other functionality.

Add a dummy font database with empty populate() function to be
used unless the debug flag for the backing store is used.

Task-number: QTBUG-33674
Task-number: QTCREATORBUG-10685
Change-Id: I7eaff3025de12e6b0471a3430f986b0cd810e22c
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
src/plugins/platforms/minimal/main.cpp
src/plugins/platforms/minimal/qminimalbackingstore.cpp
src/plugins/platforms/minimal/qminimalbackingstore.h
src/plugins/platforms/minimal/qminimalintegration.cpp
src/plugins/platforms/minimal/qminimalintegration.h