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:
parent
25b6914eab
commit
0930085a64
@ -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.";
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user