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. QWebKit assert on url starting with '/'
Forum Updated to NodeBB v4.3 + New Features

QWebKit assert on url starting with '/'

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 540 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.
  • deleted57D Offline
    deleted57D Offline
    deleted57
    wrote on last edited by
    #1

    Hi all

    I'm trying to use QWebKit for manage custom google maps. I use an html page with code for load google maps, something like:

    https://developers.google.com/maps/documentation/javascript/examples/map-simple

    unfortunately in debug mode an assert was generated by the webkit code. The assert come from the following code inside the KURL.cpp file:

    static inline void checkEncodedString(const String& url)
    {
    .......
    ASSERT_UNUSED(url, url.isEmpty() || isSchemeFirstChar(url[0]));
    }

    The url generating the assert is the following:

    //maps.gstatic.com/mapfiles/openhand_8_8.cur

    Basically the wekbit function isSchemeFirstChar return an exception if the url start with the character '/' instead of most common 'http' or similar. In release mode no problem and all is working but this assert make impossible to debug the software. Someone know a workaround for allow me to debug my application ignoring this problem? The platform is Visual Studio 2013 with 32 bit Qt library.

    Thank you

    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