Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QWebEngineView crashes on view->page() or view->load(url)
Forum Updated to NodeBB v4.3 + New Features

QWebEngineView crashes on view->page() or view->load(url)

Scheduled Pinned Locked Moved Solved QtWebEngine
2 Posts 1 Posters 1.8k 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.
  • V Offline
    V Offline
    VernJensen
    wrote on 13 Feb 2016, 02:29 last edited by
    #1

    I'm trying to get a simple project going with QtWebEngine using Qt 5.6.0 beta. Problem is, it crashes on me before I can do much of anything.

    _view = new QWebEngineView(parentWidget);
    QWebEnginePage *pageTest = _view->page(); // CRASH
    _view->load( url ); // CRASH

    Either of the two lines above cause a crash. If you want more details on where the crash is happening, see my full post here:

    http://stackoverflow.com/questions/35354581/qwebengineview-crashes-on-load-or-page-method

    Am I missing something? I used to create a QWebView in a similar way, and it worked just fine. I've followed the porting guide and the docs here show 3 lines of setup code similar to my own.

    Help?!

    -Vern

    1 Reply Last reply
    1
    • V Offline
      V Offline
      VernJensen
      wrote on 17 Feb 2016, 04:31 last edited by
      #2

      I found that I was missing several files that, if not present, will cause the app to crash when QWebEngine is used:

      qtwebengine_resources.pak
      qtwebengine_resources_100p
      qtwebengine_resources_200p.pak.pak
      QtWebEngineProcess.exe
      icudtl.dat

      If I use the windeployqt.exe tool, it properly places these files with my exe.

      1 Reply Last reply
      0

      1/2

      13 Feb 2016, 02:29

      • Login

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