From 0930085a644a52f7050bdfb48c5714358ce8f4b1 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 13 Mar 2018 21:07:43 +0100 Subject: [PATCH] not creating the font cache at build time anymore - it is easier to let the first application doing the job --- support/SkinnyFont.cpp | 4 ++-- support/support.pro | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/support/SkinnyFont.cpp b/support/SkinnyFont.cpp index 0bcddaac..7278c388 100644 --- a/support/SkinnyFont.cpp +++ b/support/SkinnyFont.cpp @@ -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."; } /* diff --git a/support/support.pro b/support/support.pro index 70d4a834..f87cc06b 100644 --- a/support/support.pro +++ b/support/support.pro @@ -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 - } }