Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. can't load html file using Qt minibrowser Qml in webview for mobile
Forum Updated to NodeBB v4.3 + New Features

can't load html file using Qt minibrowser Qml in webview for mobile

Scheduled Pinned Locked Moved Mobile and Embedded
qt 5.4androidios
2 Posts 2 Posters 1.6k Views 2 Watching
  • 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.
  • BuleronB Offline
    BuleronB Offline
    Buleron
    wrote on last edited by Buleron
    #1

    how to load qrc:/index.html file from Qml using WebView

    WebView {
    id: webView
    url:"qrc:/index.html"
    }

    p3c0P 1 Reply Last reply
    0
    • BuleronB Buleron

      how to load qrc:/index.html file from Qml using WebView

      WebView {
      id: webView
      url:"qrc:/index.html"
      }

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Buleron,
      AFAIK WebView is a wrapper around the mobile platforms native webbrowser and thus it wont understand how to load file from Qt's Resource System. I could be wrong though ;)

      157

      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