diff --git a/support/SkinnyNamespace.cpp b/support/SkinnyNamespace.cpp index 86066f2c..6878794e 100644 --- a/support/SkinnyNamespace.cpp +++ b/support/SkinnyNamespace.cpp @@ -51,6 +51,9 @@ static void initFonts() { + if ( !qobject_cast< QGuiApplication* >( qApp ) ) + return; // no fonts needed + #ifdef FONTCONFIG_FILE const char env[] = "FONTCONFIG_FILE"; if ( !qEnvironmentVariableIsSet( env ) )