aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2019-04-17 10:46:37 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-04-17 11:48:35 +0000
commitdb89e78c631df204181df3173d18ecb4a6e6164b (patch)
tree1b1f76f7e57c48aa506d6fbb6358f4aab132f138
parentcb63706f83610ebda34f6713b51d4ff61aaa82a5 (diff)
StudioWelcome: Add StudioFonts import path for splash screen
Change-Id: Ibe82e734dbc0495b092c30eec4be5b05290719b8 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/studiowelcome/studiowelcomeplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
index 5963faafea..435edd33fd 100644
--- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp
+++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
@@ -203,6 +203,7 @@ void StudioWelcomePlugin::extensionsInitialized()
s_view->setResizeMode(QQuickWidget::SizeRootObjectToView);
s_view->setWindowFlag(Qt::SplashScreen, true);
s_view->setWindowModality(Qt::ApplicationModal);
+ s_view->engine()->addImportPath("qrc:/studiofonts");
#ifdef QT_DEBUG
s_view->engine()->addImportPath(QLatin1Literal(STUDIO_QML_PATH)
+ "splashscreen/imports");