From e54a993e028039be93a46c5decf00194d898b9c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Str=C3=B8mme?= Date: Tue, 25 Sep 2018 15:37:51 +0200 Subject: 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 --- examples/webview/minibrowser/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3