Skip to content

Instantly share code, notes, and snippets.

@shundhammer
Last active May 3, 2023 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shundhammer/1de2a6896a600237a1ac32196aee2e89 to your computer and use it in GitHub Desktop.
Save shundhammer/1de2a6896a600237a1ac32196aee2e89 to your computer and use it in GitHub Desktop.
Qt and Web

Qt and Web

Qt Modules / Components

QtWebEngine

  • QtWebEngine in the Qt docs
  • Qt examples:
    • Install the package: sudo zypper in libqt5-qtwebengine-examples

    • Directories:

    • /usr/lib64/qt5/examples/webengine

    • /usr/lib64/qt5/examples/webenginewidgets

    • SimpleBrowser example

      cd /usr/lib64/qt5/examples/webenginewidgets/simplebrowser
      ./simplebrowser
      

      or

      ./simplebrowser https://www.myurl.com
      

QtWebView

This uses QtWebEngine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment