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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quickcontrols2/wearable/wearable.cpp b/examples/quickcontrols2/wearable/wearable.cpp
index c50c95c4..e6fdad74 100644
--- a/examples/quickcontrols2/wearable/wearable.cpp
+++ b/examples/quickcontrols2/wearable/wearable.cpp
@@ -54,6 +54,7 @@
int main(int argc, char *argv[])
{
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
//! [style]