Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • Application freeze when displaying a page in QtWebEngine

    Unsolved
    3
    0 Votes
    3 Posts
    115 Views
    E
    Hi @JonB , Yes, I confirm that they can access this particular web page using an external web browser. Thanks a lot for the link to the post regarding the profile, I'll check it (note that I already know we are not properly handling the lifecycle of some of our objects, so I'm pretty confident that we'll be able to fix the issue leading to this message... even if I don't know whether it could be the root cause of the freeze).
  • QtQuick WebEngineView color input has no effect

    Unsolved
    1
    0 Votes
    1 Posts
    53 Views
    No one has replied
  • cannot access https://code.qt.io/yocto/meta-qt6 — connection refused”

    Unsolved
    7
    0 Votes
    7 Posts
    829 Views
    G
    @Axel-Spoerl “Thank you for the update. I’ll retry accessing the repositories and continue monitoring the situation. Please let me know if there are further changes.”
  • Can't build WebEngineWidgets example on Ubuntu 22.04, QT 6.10

    Unsolved
    3
    0 Votes
    3 Posts
    356 Views
    G
    @jsulm Thanks for the reply. Correct. I created a folder name different from the default. FYI, I can build other examples so I don't think my installation folder is the issue.
  • About the conflict between QWebEngineView video playback and QWebChannel

    Unsolved
    2
    0 Votes
    2 Posts
    150 Views
    No one has replied
  • 0 Votes
    4 Posts
    432 Views
    S
    cmake_minimum_required(VERSION 4.0) project(desk_pos_test) set(CMAKE_CXX_STANDARD 20) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) # Tell the binary to look for libraries inside ../lib relative to executable set(CMAKE_BUILD_RPATH "$ORIGIN/../lib") set(CMAKE_INSTALL_RPATH "$ORIGIN/../lib") find_package(Qt6 COMPONENTS Core Gui Widgets WebEngineWidgets WebEngineCore REQUIRED) qt6_wrap_cpp(MOC_SOURCES main.cpp) add_executable(desk_pos_test main.cpp main.cpp ) target_link_libraries(desk_pos_test Qt::Core Qt::Gui Qt::Widgets Qt::WebEngineWidgets Qt::WebEngineCore ) install(TARGETS desk_pos_test RUNTIME DESTINATION bin ) ## ✅ Install Qt libraries (if you ship them) #install(DIRECTORY ${CMAKE_SOURCE_DIR}/packages/com.medkart.desktopPos/data/lib/ # DESTINATION lib/desk-pos-app #) function(copy_qt_lib libname) get_target_property(_qt_lib_location Qt6::${libname} LOCATION) install(FILES ${_qt_lib_location} DESTINATION lib/desk-pos-app ) endfunction() # Copy only the required modules copy_qt_lib(Core) copy_qt_lib(Gui) copy_qt_lib(Widgets) copy_qt_lib(WebEngineCore) copy_qt_lib(WebEngineWidgets) copy_qt_lib(WebChannel) # ✅ Install resources to /usr/local/share/desk-pos-app install(DIRECTORY ${CMAKE_SOURCE_DIR}/packages/com.medkart.desktopPos/data/ DESTINATION share/desk-pos-app FILES_MATCHING PATTERN "*" EXCLUDE PATTERN "lib/*" ) install(FILES ${CMAKE_SOURCE_DIR}/resources/desk-pos-app.desktop DESTINATION /usr/share/applications) install(FILES ${CMAKE_SOURCE_DIR}/resources/desk-pos-app.svg DESTINATION /usr/share/pixmaps) I am packaging my Qt6 application as a .deb using the CMake setup shown above, which installs the executable, resources, and Qt libraries. and run the following command to make the .deb file, from project folder in terminal rm -rf build mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release cpack -G DEB Is this an appropriate method for distributing a Qt application to other Linux systems? How can I optimize this CMake configuration for more reliable deployment and easier updates?
  • Qt6WebEngine Installation problem

    Unsolved qtwebengine msvc2019 webengine qt6.7.2
    4
    0 Votes
    4 Posts
    2k Views
    C
    In versions >= 6.8.0, the WebEngine was moved to the "Extensions" subfolder, see also here: https://stackoverflow.com/a/79299968
  • 0 Votes
    4 Posts
    565 Views
    SGaistS
    You mean the native build failed VS the cross-compiled version of Qt ?
  • 0 Votes
    5 Posts
    2k Views
    Jorg SingendonkJ
    This is a problem of the webengine itself. It looks like its not proper synchronizing the angle part with its html render engine. It started with QT 6. Lots of people complained about it but QT never fixed it. (the Chromium engine is really hard to understand) I am still using QT 5.15 which does not have that bug. Still webgl on QT 6.xx is a no go - it doesn't matter if you use python or c++ Very sad.
  • QtWebEngine Chromium not accepting even Valid CA certs

    Unsolved
    2
    0 Votes
    2 Posts
    258 Views
    Axel SpoerlA
    Please provide more details: Which certificate is not trusted? IIRC Webengine was introduced in 5.5, but it was missing features. My guess is that the certificated actually can't be trusted and Qt 5.5 didn't notice.
  • QT6.8 c++ QWebEngine ... Web pages start with main windows flickering

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    SGaistS
    6.7.3 is a bit old. You might want to try with the latest of the 6.9 series to see if things improve with regard to webengine. One thing, are you in debug or release mode ? That can have some impact on performances.
  • Qtwebengine build failing with out of memory while compiling evaluate_prg_hwy file

    Unsolved
    1
    0 Votes
    1 Posts
    326 Views
    No one has replied
  • QtWebEngineCore deployment issue

    Unsolved
    2
    0 Votes
    2 Posts
    936 Views
    J
    I've found an icudtl.dat in /usr/local/resources. I suppose it's the system one. I've made a small fix in my CMakeLists by doing: if(LINUX) # Check if icudtl.dat exists for Qt6WebEngine deployment if(EXISTS "/usr/share/qt6/resources/icudtl.dat") message(STATUS "Found icudtl.dat in /usr/share/qt6/resources") else() # Check if icudtl.dat is in /usr/local/resources if(EXISTS "/usr/local/resources/icudtl.dat") message(STATUS "Found icudtl.dat in /usr/local/resources") # Generate a symlink from /usr/local/resources/icudtl.dat to /usr/share/qt6/resources install(CODE " message(STATUS \"Creating symlink for icudtl.dat\") execute_process( COMMAND ${CMAKE_COMMAND} -E create_symlink /usr/local/resources/icudtl.dat /usr/share/qt6/resources/icudtl.dat ) ") else() message(FATAL_ERROR "icudtl.dat not found in /usr/share/qt6/resources or /usr/local/resources") endif() endif() endif() But I'm not sure that it's the best way to do it.
  • When exactly textMessageReceived is emitted

    Solved
    5
    1 Votes
    5 Posts
    983 Views
    P
    Thank you @Christian-Ehrlicher, it's clear to me now.
  • Web Engine not working and Qt6_FOUND to FALSE

    Unsolved
    5
    0 Votes
    5 Posts
    6k Views
    SGaistS
    @Wenzhi-Wang hi and welcome to devnet, Are you also trying to use the MinGW kit with the MSVC version of WebEngine ?
  • Qt WebEngine not working after using windeployqt (Qt 6.7.2 MSVC2019)

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    T
    QtWebEngine is compiled with Qt6. Try using windeployqt6.exe instead. Works for me.
  • How to rename QtWebEngineProcess.exe and make it work?

    Unsolved
    3
    0 Votes
    3 Posts
    639 Views
    P
    @Christian-Ehrlicher Thank you, I compiled the source code as you said, it works
  • QWebEngineView not working after upgrade form Qt 6.5.3 to Qt 6.8.3

    Solved webengine 6.8.3 windows
    2
    0 Votes
    2 Posts
    702 Views
    J
    OK fixed it. I was not updating the additional resource files when packaging my application. eg. qtwebengine_.pak, vcontext.bin, and the icudtl.dat file.
  • QtWebEngine crash with NVIDIA 390.157

    Unsolved
    4
    0 Votes
    4 Posts
    897 Views
    W
    The bug is in the Nvidia code, good library should never crash. Unfortunately it is closed source and legacy, so I don't expect any fix from Nvidia.
  • Using Spotify Web SDK in Qt6

    Solved
    14
    0 Votes
    14 Posts
    3k Views
    D
    o>O o.O oh