Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • When exactly textMessageReceived is emitted

    Solved
    5
    0 Votes
    5 Posts
    287 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
    836 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
    148 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
    138 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
    422 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
    1k Views
    D
    o>O o.O oh
  • Changing CSS to achieve a transparent background breaks rendering

    Unsolved
    5
    0 Votes
    5 Posts
    233 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
    201 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
    354 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
    1k 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
    761 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
    214 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
    115 Views
    No one has replied
  • WebEngine doing stuff I don't think it should be.

    Unsolved
    1
    0 Votes
    1 Posts
    85 Views
    No one has replied
  • Qt6WebEngine Installation problem

    Unsolved qtwebengine msvc2019 webengine qt6.7.2
    2
    0 Votes
    2 Posts
    602 Views
    P
    You either have to build QWebEngine (or WebEngineWidgets) from source if you want it for Qt 6.7.2. QWebEngine is available through the Qt Maintenance Tool only in certain versions. For example 6.6.2. I just upgraded from 6.6.2 to 6.9.0 but faced the same problem. Luckily, 6.9.1 (downloaded via Maintenance Tool) Includes Qt WebEngine Module for msvc2022_64, so I upgraded directly to 6.9.1.
  • 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
    489 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
  • PyQt6-QtWebEngine: missing libxml2.so.2 (Arch linux)

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    F
    This command worked for me sudo pacman -S libxml2-legacy