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. How to build QtWebEngine?
Servers for Qt installer are currently down

How to build QtWebEngine?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
qt5.7x86linuxqtwebengine
3 Posts 3 Posters 4.5k 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.
  • J Offline
    J Offline
    JayLu
    wrote on last edited by A Former User
    #1

    I downloaded qtwebengine-opensource-src-5.7.0.tar.gz and compiled successfully,but when I run a webengine example ,it reports error like below:
    Qt WebEngine ICU data not found at /usr/local/Qt-5.7.0/resources. Trying parent directory...
    Qt WebEngine ICU data not found at /usr/local/Qt-5.7.0. Trying application directory...

    Qt WebEngine ICU data not found at /usr/local/Qt-5.7.0/examples/webenginewidgets/simplebrowser. Trying fallback directory... The application MAY NOT work.
    Installed Qt WebEngine locales directory not found at location /usr/local/Qt-5.7.0/translations/qtwebengine_locales. Trying application directory...
    Qt WebEngine locales directory not found at location /usr/local/Qt-5.7.0/examples/webenginewidgets/simplebrowser/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
    [1013/110544:ERROR:icu_util.cc(162)] Invalid file descriptor to ICU data received.
    [1013/110544:FATAL:content_main_runner.cc(714)] Check failed: base::i18n::InitializeICU().
    #0 0x0000b2fc0094 base::debug::StackTrace::StackTrace()
    #1 0x0000b2fd8885 logging::LogMessage::~LogMessage()
    #2 0x0000b21692eb content::ContentMainRunnerImpl::Initialize()
    #3 0x0000b1506125 QtWebEngineCore::WebEngineContext::WebEngineContext()
    #4 0x0000b1506dce QtWebEngineCore::WebEngineContext::current()
    #5 0x0000b14a8862 QtWebEngineCore::BrowserContextAdapter::defaultContext()
    #6 0x0000b77801b0 QWebEngineProfile::defaultProfile()
    #7 0x0000080579fd TabWidget::createTab()
    #8 0x000008055454 BrowserWindow::BrowserWindow()
    #9 0x000008050339 main
    #10 0x0000b628ba83 __libc_start_main
    #11 0x00000805044c <unknown>

    The program has unexpectedly finished.
    /usr/local/Qt-5.7.0/examples/webenginewidgets/simplebrowser/simplebrowser crashed

    hope for your guy's reply and help!!!!!

    1 Reply Last reply
    0
    • JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @JayLu said in Qt 5.7 Linux x86 how to build QtWebEngine?:

      Installed Qt WebEngine locales directory not found at location /usr/local/Qt-5.7.0/translations/qtwebengine_locales

      You are supposed to have a bunch of *.pak locale files in /usr/local/Qt-5.7.0/translations/qtwebengine_locales. You seem not to have them there. Check whether/where you do have them, and look at how you're supposed to "install" properly for QtWebEngine after compiling it.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sacha_D
        wrote on last edited by
        #3

        I use Windows and msvc 2015 compiler.
        I Installed a qt-opensource-windows-x86-5.9.2.exe. Then I changed a very little some headers in qtwebengine module. Then, I need to rebuild it. I opened configurated by Qt console for msvc2015 x86_64 compiler, go to the src/qtwebengine, typing qmake and after that nmake. nmake only outputs

        Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
        Copyright (C) Microsoft Corporation.  All rights reserved.
        

        but did nothing.
        I downloaded qtwebengine-opensource-src-5.9.2 separately and try to buid it - the same result.
        How to rebuild qtwebengine using msvc 2015 compiler?

        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