diff options
author | Christian Strømme <christian.stromme@qt.io> | 2018-09-25 15:37:51 +0200 |
---|---|---|
committer | Christian Stromme <christian.stromme@qt.io> | 2018-09-26 12:00:36 +0000 |
commit | e54a993e028039be93a46c5decf00194d898b9c4 (patch) | |
tree | 178772fc372a34c4a76eee3eebe1c78cbc7d405a /examples | |
parent | b9fef247821416de6532a5ed375a01039c6336dd (diff) |
Fix URL in minibrowser example
Make the URL to qt.io use HTTPS explicitly, as e.g., newer versions of
iOS and Android have stricter rules for clear text communication, and
on these platforms resource that require clear text communication will
not be loaded.
Task-number: QTBUG-70281
Change-Id: I8b117e6f8d48f4b52361248f9681584e73980db1
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/webview/minibrowser/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webview/minibrowser/main.cpp b/examples/webview/minibrowser/main.cpp index ae7c321..8f56731 100644 --- a/examples/webview/minibrowser/main.cpp +++ b/examples/webview/minibrowser/main.cpp @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) QStringList arguments = app.arguments(); parser.process(arguments); const QString initialUrl = parser.positionalArguments().isEmpty() ? - QStringLiteral("qt.io") : parser.positionalArguments().first(); + QStringLiteral("https://www.qt.io") : parser.positionalArguments().first(); QQmlApplicationEngine engine; QQmlContext *context = engine.rootContext(); |