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?

QWebEngineView how load local index.html?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 4.0k 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 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 ).

    eyllanescE 1 Reply Last reply
    0
    • N NintyS

      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 ).

      eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by eyllanesc
      #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

      • Login

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