Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building WebEngine 6.2 from source failed on Windows 10
Qt 6.11 is out! See what's new in the release blog

Building WebEngine 6.2 from source failed on Windows 10

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 198 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.
  • N Offline
    N Offline
    nelucius
    wrote on last edited by
    #1

    I'm trying to compile QtWebEngine version 6.2 with -webengine-proprietary-codecs enabled. The error occurs when configure:

    configure --release -prefix %CD%\qtbase -webengine-proprietary-codecs -skip qtopcua -skip qt3d -skip qt5compat -skip qttranslations -skip qtvirtualkeyboard -skip qthttpserver -skip qtdoc

    The last error message:
    Qt WebEngineCore:
    Embedded build ......................... no
    Full debug information ................. no
    Sanitizer support ...................... no
    Pepper Plugins ......................... yes
    Printing and PDF ....................... yes
    Proprietary Codecs ..................... yes
    Spellchecker ........................... yes
    Native Spellchecker .................... no
    WebRTC ................................. yes
    PipeWire over GIO ...................... no
    Geolocation ............................ yes
    WebChannel support ..................... yes
    Kerberos Authentication ................ yes
    Extensions ............................. yes
    Qt WebEngineQuick:
    UI Delegates ........................... yes

    WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
    Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
    On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
    On macOS, you can use Homebrew's llvm package.
    You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
    WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
    You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.

    Qt is now configured for building. Just run 'cmake --build . --parallel'

    Once everything is built, Qt is installed. You should NOT run 'cmake --install .'
    Note that this build cannot be deployed to other machines or devices.

    To configure and build other Qt modules, you can use the following convenience script:
    C:/Qt/6.2.4/msvc2019_64/src/qt-everywhere-src-6.2.4/qtbase/bin/qt-configure-module.bat

    If reconfiguration fails for some reason, try to remove 'CMakeCache.txt' from the build directory

    -- Configuring incomplete, errors occurred!
    --->cmake_args: -DBUILD_qtopcua=OFF;-DBUILD_qt3d=OFF;-DBUILD_qt5compat=OFF;-DBUILD_qttranslations=OFF;-DBUILD_qtvirtualkeyboard=OFF;-DBUILD_qthttpserver=OFF;-DBUILD_qtdoc=OFF;-DCMAKE_INSTALL_PREFIX=C://Qt//6.2.4//msvc2019_64//src//qt-everywhere-src-6.2.4//qtbase;-DCMAKE_BUILD_TYPE=Release;-DINPUT_webengine_proprietary_codecs=yes;-G;Ninja;C:/Qt/6.2.4/msvc2019_64/src/qt-everywhere-src-6.2.4
    CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:958 (message):
    CMake exited with code 1.

    Thanks

    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