Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebEngineView how load local index.html?
Forum Updated to NodeBB v4.3 + New Features

QWebEngineView how load local index.html?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 3.4k 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.
  • N Offline
    N Offline
    NintyS
    wrote on 11 Feb 2021, 23:20 last edited by
    #1

    Hello, I want to load my local html file to QWebEngineView, how to do it? I don't see anything about it in the internet. ( I want use it as electron to put there a video form YouTube ).

    E 1 Reply Last reply 11 Feb 2021, 23:34
    0
    • N NintyS
      11 Feb 2021, 23:20

      Hello, I want to load my local html file to QWebEngineView, how to do it? I don't see anything about it in the internet. ( I want use it as electron to put there a video form YouTube ).

      E Offline
      E Offline
      eyllanesc
      wrote on 11 Feb 2021, 23:34 last edited by eyllanesc 2 Nov 2021, 23:34
      #2

      @NintyS use webengineview.load(QUrl::fromLocalFile("/full/path/of/index.html"))

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      1 Reply Last reply
      3

      1/2

      11 Feb 2021, 23:20

      • Login

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