Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • Qt6WebEngine Installation problem

    Unsolved qtwebengine msvc2019 webengine qt6.7.2
    3
    0 Votes
    3 Posts
    834 Views
    AsifBahrainwalaA
    [image: 991f3ebf-a6bb-4b03-80d2-9c9377609b65.png] I cannot find any option to install this, it is available in previous versions though,
  • QtWebEngineCore deployment issue

    Unsolved
    2
    0 Votes
    2 Posts
    698 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
    609 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
    5k 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
    968 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
    294 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
    315 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
    576 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
    2k Views
    D
    o>O o.O oh
  • Changing CSS to achieve a transparent background breaks rendering

    Unsolved
    5
    0 Votes
    5 Posts
    450 Views
    jsulmJ
    @Hecklezz said in Changing CSS to achieve a transparent background breaks rendering: Should I open a bug report regarding this or is this already a known issue? You can check in Qt bug tracker https://bugreports.qt.io/browse/VSCODEEXT-204?jql=
  • Qt 5.15 , SSO is throwing error while logging.

    Unsolved
    7
    0 Votes
    7 Posts
    499 Views
    hskoglundH
    For more info, try clicking the blue "More details" at the bottom of that dialog error box "You can't get there from here"
  • QWebEngine with Raspberry pi 5 (using PySide6)

    Unsolved
    6
    0 Votes
    6 Posts
    664 Views
    M
    @SGaist Hi, sorry for the late reply. I installed ubuntu and it finally worked! I had to change some of my code though, and installed deb. What I found: QApplication.instance().installEventFilter() will crash the program. Instead, run window.installEventFilter() You were right about Chromium on Debian issue. Changing to Ubuntu seems to have worked!
  • 0 Votes
    4 Posts
    2k Views
    L
    @SGaist I tried to update my Qt to 6.8.3, but I encoutered some issues about files not found. You can see in this topic : https://forum.qt.io/topic/162706/issue-encountered-with-c-compilation-in-qt-creator-and-msvc?_=1752664613398
  • Connecting a QWebSocket to a given IPv6 address (no URL)

    Solved
    13
    0 Votes
    13 Posts
    1k Views
    P
    @SGaist said in Connecting a QWebSocket to a given IPv6 address (no URL): What did you do that made things work ? It might be helpful to other people :-) There were two things: The QWebSocketServer was set to SecureMode, while on the client's side, the request URLs were all "ws://", so changing the QWebSocketServer to NonSecureMode helped a lot. When the lookup of QHostInfo is successful, the lookupId of is set to -1, and the errorString is then "Unknown error". So there really was no problem with this to begin with!
  • Creating a server handling 20k connected users

    Solved
    8
    0 Votes
    8 Posts
    575 Views
    D
    Hi @Pippin, You're right that managing 20k+ users with QTcpServer and raw sockets can be very resource-heavy. Instead of using plain HTTP, I'd recommend looking into WebSockets with QWebSocketServer, which allows real-time, two-way communication and scales better for game updates. For encryption, you can either use QSslSocket directly or offload SSL using a reverse proxy like Nginx to handle HTTPS/WSS and let your server deal with plain TCP internally. As for syncing game state: the server should act as the single source of truth. When Player A makes a move, the server processes it, validates it, then pushes the same update to Player B and any watchers using WebSocket messages. This way, all players receive the actions in the same order, keeping everything in sync. Starting with a small prototype using a few clients will help you get the architecture right before scaling up. Good luck!
  • QtWebEngine with Windows SSO

    Unsolved
    1
    0 Votes
    1 Posts
    172 Views
    No one has replied
  • WebEngine doing stuff I don't think it should be.

    Unsolved
    1
    0 Votes
    1 Posts
    116 Views
    No one has replied
  • QToolButton with QMenu stops working after switching tabs (QWebEngineView involved)

    Unsolved
    13
    0 Votes
    13 Posts
    2k Views
    S
    Hi @Axel-Spoerl, Just checking in to see if you had a chance to look at the code I posted earlier. I'd really appreciate any insights or suggestions when you get a moment. Thanks again for your time and guidance. Regards, Soumyanil
  • 0 Votes
    4 Posts
    1k Views
    A
    Hello, @raphm01 Doyou resolve your problem? I have similar issue with terrible flickering of Webpage when using PyQT6 on windows OS
  • Possible marking-state.h Chromium bug when compiling QtWebEngine from source

    Unsolved
    2
    0 Votes
    2 Posts
    643 Views
    T
    This issue is reported here: https://bugreports.qt.io/browse/QTBUG-136953. And there's a fix to qtwebengine-chromium: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/646656