diff options
Diffstat (limited to 'examples/quickcontrols2/wearable/wearable.cpp')
-rw-r--r-- | examples/quickcontrols2/wearable/wearable.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/quickcontrols2/wearable/wearable.cpp b/examples/quickcontrols2/wearable/wearable.cpp index dec6e9c2..5f96caf4 100644 --- a/examples/quickcontrols2/wearable/wearable.cpp +++ b/examples/quickcontrols2/wearable/wearable.cpp @@ -50,11 +50,14 @@ #include <QGuiApplication> #include <QQmlApplicationEngine> +#include <QQuickStyle> int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); + QQuickStyle::setStyle(QStringLiteral("qrc:/qml/Style")); + QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/wearable.qml"))); |