aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/wearable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/wearable/wearable.cpp')
-rw-r--r--examples/quickcontrols2/wearable/wearable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quickcontrols2/wearable/wearable.cpp b/examples/quickcontrols2/wearable/wearable.cpp
index 5f96caf4..c50c95c4 100644
--- a/examples/quickcontrols2/wearable/wearable.cpp
+++ b/examples/quickcontrols2/wearable/wearable.cpp
@@ -56,7 +56,9 @@ int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
+ //! [style]
QQuickStyle::setStyle(QStringLiteral("qrc:/qml/Style"));
+ //! [style]
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/wearable.qml")));