aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shared/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/shared/shared.h')
-rw-r--r--examples/quick/shared/shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/shared/shared.h b/examples/quick/shared/shared.h
index b6c7c4a45b..7f51b3d505 100644
--- a/examples/quick/shared/shared.h
+++ b/examples/quick/shared/shared.h
@@ -59,6 +59,7 @@
app.setOrganizationDomain("qt-project.org");\
app.setApplicationName(QFileInfo(app.applicationFilePath()).baseName());\
QQuickView view;\
+ view.engine()->addImportPath(QStringLiteral(":/"));\
if (qEnvironmentVariableIntValue("QT_QUICK_CORE_PROFILE")) {\
QSurfaceFormat f = view.format();\
f.setProfile(QSurfaceFormat::CoreProfile);\