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. webnineview v.s. webview

webnineview v.s. webview

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 396 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.
  • E Offline
    E Offline
    Eric Ruei
    wrote on last edited by
    #1

    Hi,

    We have a very simple QT program which just loads a web page and most of time the local webpage.

    QWebView *view;   //use qtWebkit
    

    or
    /WebEngineView *view; //use qtWebengine

    view = new QWebView(this);
    view->load(url);
    setCentralWidget(view);
    

    or

    view = new QWebengineView(this);
    view->load(url);
    setCentralWidget(view);
    

    where the uurl=http://localhost:80

    This simple browser program works for years (from Qt5.5 to QT5.9)

    The one based on qtWebkit still works at QT5.11.3, but the one based on qtWebengine stops working such that there is no page displayed.

    The qtwebengine-based full browser example such as simple browser and qtwebbrowser still works although both of them requires some security- related dialog "Proceed with Caution" for the local page. I wonder whether the problem is related to some kind of security enhancement per Chromium.

    Any suggestions will be highly appreciated!

    Best regards,

    Eric

    JonBJ 1 Reply Last reply
    0
    • E Eric Ruei

      Hi,

      We have a very simple QT program which just loads a web page and most of time the local webpage.

      QWebView *view;   //use qtWebkit
      

      or
      /WebEngineView *view; //use qtWebengine

      view = new QWebView(this);
      view->load(url);
      setCentralWidget(view);
      

      or

      view = new QWebengineView(this);
      view->load(url);
      setCentralWidget(view);
      

      where the uurl=http://localhost:80

      This simple browser program works for years (from Qt5.5 to QT5.9)

      The one based on qtWebkit still works at QT5.11.3, but the one based on qtWebengine stops working such that there is no page displayed.

      The qtwebengine-based full browser example such as simple browser and qtwebbrowser still works although both of them requires some security- related dialog "Proceed with Caution" for the local page. I wonder whether the problem is related to some kind of security enhancement per Chromium.

      Any suggestions will be highly appreciated!

      Best regards,

      Eric

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Eric-Ruei
      QWebengineView has a bunch of loadStarted/Progress/Finished signals. See if they are telling you anything?
      Maybe QWebEngineView::load(const QWebEngineHttpRequest &request) overload would allow you to examine any request/response issues?

      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