Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • QWebEngine does not properly respond to the print functionality of pdf.js.

    Unsolved
    1
    0 Votes
    1 Posts
    317 Views
    No one has replied
  • QT webengine build error.

    Unsolved
    4
    0 Votes
    4 Posts
    718 Views
    jsulmJ
    @Ferdinand-Castelino In the screen shots you show libraries, not packages. How to add dev package depends on how you created the sysroot and what Linux distribution is running on your device. On Ubuntu this package is named "libnss3-dev". Dev packages contain header files and what else is needed to build software which uses a library, it is not enough to install the library itself.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    33 Views
    No one has replied
  • High CPU Usage and Unresponsiveness in QtWebEngineProcess after a Few page reloads

    Unsolved
    1
    0 Votes
    1 Posts
    415 Views
    No one has replied
  • QtWebEngine python binding package named "PyQtWebEngine" yocto installation

    Unsolved
    2
    0 Votes
    2 Posts
    443 Views
    JonBJ
    @Chakra2811 Since this is a PyQt question, if you do not get an answer here you could try asking the PyQt folks over at https://riverbankcomputing.com/mailman/listinfo/pyqt
  • The configuration script cannot find Windows SDK

    Unsolved
    3
    0 Votes
    3 Posts
    452 Views
    E
    I did follow the instructions to set up my environment correctly. And here's the output of the configuration script: + H:\Qt\6.8.1\Src/qtbase/configure.bat -top-level -qt-libpng -qt-libjpeg -cmake-generator Ninja -openssl-linked -platform win32-clang-msvc -- -DOPENSSL_ROOT_DIR=H:/Qt/Tools/OpenSSLv3/Win_x64 -DLLVM_INSTALL_DIR=D:/LLVM-Clang MSVC/clang+llvm-18.1.8-x86_64-pc-windows-msvc/ -Wno-dev -- Windows 10 SDK version: Overriding option 'libpng' with 'qt' (was: 'undefined') Overriding option 'libjpeg' with 'qt' (was: 'undefined') 'C:/Program Files/CMake/bin/cmake.exe' '-DOPENSSL_ROOT_DIR=H:/Qt/Tools/OpenSSLv3/Win_x64' '-DLLVM_INSTALL_DIR=D:/LLVM-Clang MSVC/clang+llvm-18.1.8-x86_64-pc-windows-msvc/' '-Wno-dev' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DQT_QMAKE_TARGET_MKSPEC=win32-clang-msvc' '-DCMAKE_C_COMPILER=clang-cl' '-DCMAKE_CXX_COMPILER=clang-cl' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_openssl=linked' '-G' 'Ninja' 'H:/Qt/6.8.1/Src' -- Checking dependencies of submodule 'qtbase' -- Checking dependencies of submodule 'qtimageformats' -- Checking dependencies of submodule 'qtlanguageserver' -- Checking dependencies of submodule 'qtshadertools' -- Checking dependencies of submodule 'qtsvg' -- Checking dependencies of submodule 'qtdeclarative' -- Checking dependencies of submodule 'qtquicktimeline' -- Checking dependencies of submodule 'qtquick3d' -- Checking dependencies of submodule 'qtmultimedia' -- Checking dependencies of submodule 'qt3d' -- Checking dependencies of submodule 'qt5compat' -- Checking dependencies of submodule 'qtactiveqt' -- Checking dependencies of submodule 'qtcharts' -- Checking dependencies of submodule 'qtcoap' -- Checking dependencies of submodule 'qtconnectivity' -- Checking dependencies of submodule 'qtdatavis3d' -- Checking dependencies of submodule 'qtgraphs' -- Checking dependencies of submodule 'qtwebsockets' -- Checking dependencies of submodule 'qthttpserver' -- Checking dependencies of submodule 'qtserialport' -- Checking dependencies of submodule 'qtpositioning' -- Checking dependencies of submodule 'qtlocation' -- Checking dependencies of submodule 'qttools' -- Checking dependencies of submodule 'qtwebchannel' -- Checking dependencies of submodule 'qtwebengine' -- Checking dependencies of submodule 'qtdoc' -- Checking dependencies of submodule 'qtgrpc' -- Checking dependencies of submodule 'qtlottie' -- Checking dependencies of submodule 'qtmqtt' -- Checking dependencies of submodule 'qtnetworkauth' -- Checking dependencies of submodule 'qtopcua' -- Checking dependencies of submodule 'qtquick3dphysics' -- Checking dependencies of submodule 'qtquickeffectmaker' -- Checking dependencies of submodule 'qtremoteobjects' -- Checking dependencies of submodule 'qtscxml' -- Checking dependencies of submodule 'qtsensors' -- Checking dependencies of submodule 'qtserialbus' -- Checking dependencies of submodule 'qtspeech' -- Checking dependencies of submodule 'qttranslations' -- Checking dependencies of submodule 'qtvirtualkeyboard' -- Checking dependencies of submodule 'qtwayland' -- Checking dependencies of submodule 'qtwebview' -- Configuring submodule 'qtbase' -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' [QtBase] 'qtwebengine_build' was changed from OFF to ON [QtBase] 'qtwebengine_core_build' was changed from OFF to ON [QtBase] 'qtwebengine_widgets_build' was changed from OFF to ON [QtBase] 'qtwebengine_quick_build' was changed from OFF to ON CMake Warning at qtbase/cmake/QtFeature.cmake:896 (message): Due to detected feature set changes, dependent features will be re-computed automatically. This might cause a lot of files to be rebuilt. To disable this behavior, configure with -DQT_NO_FEATURE_AUTO_RESET=ON Call Stack (most recent call first): qtbase/cmake/QtBuildHelpers.cmake:472 (qt_internal_detect_dirty_features) qtbase/cmake/QtBuild.cmake:4 (qt_internal_setup_build_and_global_variables) qtbase/cmake/QtSetup.cmake:6 (include) qtbase/cmake/QtBuildRepoHelpers.cmake:21 (include) qtbase/cmake/QtBuildRepoHelpers.cmake:232 (qt_build_internals_set_up_private_api) qtbase/cmake/QtBaseHelpers.cmake:154 (qt_build_repo_begin) qtbase/CMakeLists.txt:32 (qt_internal_qtbase_build_repo) -- Configuring submodule 'qtimageformats' -- Configuring submodule 'qtlanguageserver' -- Configuring submodule 'qtshadertools' -- Configuring submodule 'qtsvg' -- Configuring submodule 'qtdeclarative' -- Configuring submodule 'qtquicktimeline' -- Configuring submodule 'qtquick3d' -- Configuring submodule 'qtmultimedia' -- Configuring submodule 'qt3d' -- Configuring submodule 'qt5compat' -- Configuring submodule 'qtactiveqt' -- Configuring submodule 'qtcharts' -- Configuring submodule 'qtcoap' -- Configuring submodule 'qtconnectivity' -- Configuring submodule 'qtdatavis3d' -- Configuring submodule 'qtgraphs' -- Configuring submodule 'qtwebsockets' -- Configuring submodule 'qthttpserver' -- Configuring submodule 'qtserialport' -- Configuring submodule 'qtpositioning' -- Configuring submodule 'qtlocation' -- Configuring submodule 'qttools' -- Configuring submodule 'qtwebchannel' -- Configuring submodule 'qtwebengine' [QtWebEngine] -- Windows 10 SDK version: [QtWebEngine] -- Support check for QtWebEngine failed: Build requires Windows 11 SDK at least version 10.0.22621.0 CMake Error at qtwebengine/cmake/Functions.cmake:967 (get_filename_component): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): qtwebengine/src/pdf/CMakeLists.txt:112 (append_compiler_linker_sdk_setup) -- Configuring incomplete, errors occurred! CMake Error at H:/Qt/6.8.1/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:1139 (message): CMake exited with code 1. CMake Error at H:/Qt/6.8.1/Src/cmake/QtIRProcessHelpers.cmake:173 (message): H:\Qt\6.8.1\Src/qtbase/configure.bat -top-level -qt-libpng -qt-libjpeg -cmake-generator Ninja -openssl-linked -platform win32-clang-msvc -- -DOPENSSL_ROOT_DIR=H:/Qt/Tools/OpenSSLv3/Win_x64 -DLLVM_INSTALL_DIR=D:/LLVM-Clang MSVC/clang+llvm-18.1.8-x86_64-pc-windows-msvc/ -Wno-dev exited with status: 1 Call Stack (most recent call first): H:/Qt/6.8.1/Src/cmake/QtTopLevelHelpers.cmake:35 (qt_ir_execute_process_and_log_and_handle_error) H:/Qt/6.8.1/Src/cmake/QtTopLevelHelpers.cmake:57 (qt_tl_run_toplevel_configure) H:/Qt/6.8.1/Src/cmake/QtTopLevelConfigureScript.cmake:17 (qt_tl_run_main_script)
  • Webengine example fail with "Unknown module(s) in QT: webengine"

    Solved windows 7
    34
    0 Votes
    34 Posts
    65k Views
    osirisgothraO
    still think the components that are used in examples should be included by default or at least if nothing else warned that you wont be able to do some examples unless you have them (in the right places mind you, not tucked away in some weird documentation). It would also be nice if there is gonna be typing completion in qmake, cmake, etc., that it actually be contextual to the syntax of those items and not just spit out seemingly random tags most of which don't have anything to do with said files... even better, maybe include at least the headers that way you know for sure you are missing the library instead of ghostin' the whole kit'n'kaboodle.
  • Webengine 6.8 compilation on ARM64 Ubuntu 18.04 (Nvidia Jetson)

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    jsulmJ
    @therealmatiss Qt 6.8 does not support Ubuntu 18.04 (see https://doc.qt.io/qt-6/linux.html). Use an older Qt version which supports this Ubuntu version (which does not get any support anymore by the way).
  • MSVC 17.12 Compilation error

    Solved
    4
    0 Votes
    4 Posts
    638 Views
    B
    Thanks. Created one https://bugreports.qt.io/browse/QTWB-77
  • 0 Votes
    9 Posts
    1k Views
    F
    thx for your reply
  • Create QApplication in main thread but be warned create not on main thread

    Unsolved
    2
    0 Votes
    2 Posts
    487 Views
    Christian EhrlicherC
    First upgrade to a recent version. If the error still persists, create a minimal, compilable example. And if it then still exists it might be a bug in Qt not yet fixed.
  • SOS!!! The built-in pdfviewer is not working properly! SOS!!!

    Unsolved
    3
    0 Votes
    3 Posts
    523 Views
    R
    @gfxx The OS is Windows 11 22H2
  • CMake failed to load QWebWidgets module

    Unsolved
    17
    0 Votes
    17 Posts
    5k Views
    K
    @Haowei-Hsu you saved my day ^^. Thank you. Qt Positioning really fix this issue on my Qt 6.8
  • WebEngineView performance issues vs. native Chrome

    Solved
    2
    0 Votes
    2 Posts
    550 Views
    J
    GGnome provided the solution to this problem in this thread. Setting the following in my main.cpp before initialising the app cured all performance issues with my WebEngineView: QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);
  • QWebEngineView and OpenGL rendering problem

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    J
    Thank you @GGnome ! I was having a slightly different problem (ghosting, tearing, stuttering, flickering, etc.) and I use the QQuickWindow line you've posted above and it completely fixed it. I don't remember seeing anything about that particular setting in the documentation...I must have missed it.
  • handling QWebEngineCertificateError

    Solved
    2
    0 Votes
    2 Posts
    740 Views
    A
    Problem solved. server name was not set up in /etc/hosts after reinstalling Ubuntu.
  • Cannot find gn when configuring QtWebEngine

    Unsolved
    2
    0 Votes
    2 Posts
    708 Views
    jsulmJ
    @_qt-qt_ Please either run configure with -v parameter or do what it suggests: Configure with --log-level=STATUS Then you will get more details, else nobody can tell why it is not detected.
  • QtWebEngine signing issue

    Unsolved
    1
    0 Votes
    1 Posts
    195 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • 0 Votes
    1 Posts
    220 Views
    No one has replied