Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QWebView fails to load 'div' external content from embedded resources
Forum Updated to NodeBB v4.3 + New Features

QWebView fails to load 'div' external content from embedded resources

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 2.5k Views 1 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.
  • F Offline
    F Offline
    FrenzyOrange
    wrote on last edited by
    #1

    Greetings

    Here is the task:
    We have main html document (index.html) and a set of children documents (info.html, misc.html, etc). All documents are placed in the same folder.
    Main html document can load children documents to subnode via $('.<node_name>').load(<local_url>), where <local_url> can be 'info.html', 'misc.html' and so on.

    QWebView in my app showing main document and everything is going ok while main html document is passed by 'file:/' scheme. Once i put all the docs into resources, main document continue displaying ok via qrc:/ scheme, but children documents are not displayed at all.

    Manipulating with QWebSettings::Attributes did not bring me success.

    Does anyone have any thoughts about this strange behavior? Any help or clue will be appreciated.

    PS: Qt version is 4.8.1

    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