diff options
author | Michal Klocek <michal.klocek@qt.io> | 2023-01-05 10:54:33 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2023-08-11 20:43:03 +0200 |
commit | a748cb9183143b76cad1e940220dcabf25475493 (patch) | |
tree | ed5aa1f51c0034d4ea97956b5af7a49b32c6d103 /examples/webenginewidgets/simplebrowser | |
parent | a63e5b1f0e4b65c5ce59e705129ab368677a94a8 (diff) |
Add initial internal version page
We kept urls in examples to point to company website.
However this site is heavy to load and moreover it changes
overtime leaving example screenshots obsolete.
Introduce internal qt version web ui page which will
be default page for examples and which displays basic
information and can work offline.
For start show version info and command line options
for chrome://qt
Pick-to: 6.6
Change-Id: I0271ce6e7b152efe4942a6240b0c74ba382d5fcc
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'examples/webenginewidgets/simplebrowser')
-rw-r--r-- | examples/webenginewidgets/simplebrowser/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/simplebrowser/main.cpp b/examples/webenginewidgets/simplebrowser/main.cpp index d5d9e78ab..bd9a3a198 100644 --- a/examples/webenginewidgets/simplebrowser/main.cpp +++ b/examples/webenginewidgets/simplebrowser/main.cpp @@ -18,7 +18,7 @@ QUrl commandLineUrlArgument() if (!arg.startsWith(u'-')) return QUrl::fromUserInput(arg); } - return QUrl(u"https://www.qt.io"_s); + return QUrl(u"chrome://qt"_s); } int main(int argc, char **argv) |