diff options
| author | Dominik Holland <dominik.holland@qt.io> | 2023-05-03 18:50:57 +0200 |
|---|---|---|
| committer | Dominik Holland <dominik.holland@qt.io> | 2023-05-09 17:36:00 +0000 |
| commit | 3b217d39211f03e47c9849750e2290612f108cda (patch) | |
| tree | 3292472682df995a37d9fe7e10c64052aca73eb5 /examples/ifvehiclefunctions/climate-qml/main.cpp | |
| parent | dd397cd60c9f65a79e1560d4ab59af57168ee856 (diff) | |
Start using the new literal operator from Qt::StringLiterals
Change-Id: I4f5d723d01dc8e8e410920f96e6a445b194ac389
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples/ifvehiclefunctions/climate-qml/main.cpp')
| -rw-r--r-- | examples/ifvehiclefunctions/climate-qml/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/ifvehiclefunctions/climate-qml/main.cpp b/examples/ifvehiclefunctions/climate-qml/main.cpp index e415bd0b..30bc8c21 100644 --- a/examples/ifvehiclefunctions/climate-qml/main.cpp +++ b/examples/ifvehiclefunctions/climate-qml/main.cpp @@ -6,12 +6,14 @@ #include <QGuiApplication> #include <QQmlApplicationEngine> +using namespace Qt::StringLiterals; + int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QQmlApplicationEngine engine; - engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); + engine.load(QUrl(u"qrc:/main.qml"_s)); return app.exec(); } |
