Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. How to get html code ,i ‘m using QwebEngineView
Qt 6.11 is out! See what's new in the release blog

How to get html code ,i ‘m using QwebEngineView

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 762 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    THEFree
    wrote on last edited by
    #1

    Excuse me,I am using PyQt5 QwebEngineView, how to get the html code.
    for example:

    <!doctype html>
    <html>
            <head>
                    <meta charset="utf-8">
                    <meta http-equiv="X-UA-Compatible" content="IE=edge">
                    <meta name="renderer" content="webkit">
                    <title></title>
                    <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon" />
                    <link href="/static/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet">
                    <link href="/static/css/site.css?date=20180912" rel="stylesheet">
                    <link href="/static/codemirror/lib/codemirror.css" rel="stylesheet">
                    <!--[if lte IE 9]>
                    <script src="/static/js/requestAnimationFrame.js"></script>
                    <![endif]-->
            </head>
            <body>
           .....
    

    (from google translation)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved