diff options
Diffstat (limited to 'doc/examples/accelbubble/main.cpp')
-rw-r--r-- | doc/examples/accelbubble/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/examples/accelbubble/main.cpp b/doc/examples/accelbubble/main.cpp index 618e0f3da83..6ff25a462cf 100644 --- a/doc/examples/accelbubble/main.cpp +++ b/doc/examples/accelbubble/main.cpp @@ -3,7 +3,7 @@ ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** -** This file is part of the examples of the Qt Toolkit. +** This file is part of Qt Creator ** ** $QT_BEGIN_LICENSE:BSD$ ** Commercial License Usage @@ -53,10 +53,11 @@ int main(int argc, char *argv[]) { + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); QQmlApplicationEngine engine; - engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); + engine.load(QUrl(QLatin1String("qrc:/main.qml"))); return app.exec(); } |