not creating the font cache at build time anymore - it is easier to let

the first application doing the job
This commit is contained in:
Uwe Rathmann 2018-03-13 21:07:43 +01:00
parent 25b6914eab
commit 0930085a64
2 changed files with 2 additions and 12 deletions

View File

@ -30,8 +30,8 @@ void SkinnyFont::init( QGuiApplication* )
if ( elapsed > 20 )
{
qWarning() << "Loading fonts needed" << elapsed << "ms.";
qWarning() << "Probably because of creating a font cache.";
qWarning() << "Loading fonts needed" << elapsed << "ms"
<< "- usually because of creating a font cache.";
}
/*

View File

@ -73,14 +73,4 @@ fontconfig {
write_file( $${QSK_FONTCONF_FILE}, QSK_FONTCONF_DATA )
DEFINES += FONTCONFIG_FILE=$$clean_path( $$QSK_FONTCONF_FILE )
linux {
fontcache.target = $${QSK_FONTCACHEDIR}/cache
fontcache.depends = $${QSK_FONTCONF_FILE}
fontcache.commands = FONTCONFIG_FILE=$${QSK_FONTCONF_FILE} fc-cache -v
QMAKE_EXTRA_TARGETS += fontcache
PRE_TARGETDEPS += $${QSK_FONTCACHEDIR}/cache
}
}