qt5base-lts/tests/auto/gui/text/qfontdatabase
Eskil Abrahamsen Blomfeldt 83c9d22d44 Remove dependency on QPlatformSupport in fontdatabase test
If you include a static library in the test, all symbols will
be duplicated, and this can cause nasty crashes because global
static data is also duplicated. This happened on Linux because
of a global static cache in the font engine where the two instances
of it would get out of sync, and we would reference invalid
data.

To test QPlatformSupport features, a QPlatformSupport test which
does not load any platform plugin (or uses its own platform plugin
which does not load QPlatformSupport) is needed. For now, I will
just revert adding the test, since it is broken and was added
as part of supporting Windows CE:
   f2fabf77f9.

Change-Id: I6c002d1e0880ee8e031a68eee80e781fe0c62af4
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2013-03-25 19:21:40 +01:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
FreeMono.ttf Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qfontdatabase.pro Remove dependency on QPlatformSupport in fontdatabase test 2013-03-25 19:21:40 +01:00
tst_qfontdatabase.cpp Remove dependency on QPlatformSupport in fontdatabase test 2013-03-25 19:21:40 +01:00