Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • Connecting a QWebSocket to a given IPv6 address (no URL)

    Unsolved
    3
    0 Votes
    3 Posts
    70 Views
    piervalliP
    Ipv4 or IPv6 you need an ip 'ws:// {ip}:{port}' or if you need open ssl use 'wss://' you can use Qurl.
  • Creating a server handling 20k connected users

    Solved
    8
    0 Votes
    8 Posts
    92 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
    29 Views
    No one has replied
  • Using Spotify Web SDK in Qt6

    Solved
    8
    0 Votes
    8 Posts
    763 Views
    SGaistS
    @Dilloncarr hi, From what @cobook wrote, the main fix was to move to Ubuntu. Did you already tried that ? Also, which version of Qt are you using ? How did you install it ?
  • Web Engine not working and Qt6_FOUND to FALSE

    Unsolved
    2
    0 Votes
    2 Posts
    47 Views
    Christian EhrlicherC
    Mingw does not provide webengine. You have to use msvc
  • WebEngine doing stuff I don't think it should be.

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

    Unsolved qtwebengine msvc2019 webengine qt6.7.2
    2
    0 Votes
    2 Posts
    444 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
  • QtWebEngine crash with NVIDIA 390.157

    Unsolved
    3
    0 Votes
    3 Posts
    309 Views
    JoeCFDJ
    @wojciech_kazubski If you suspect the issue is related to the driver, post your problem in Nvidia forum and you may be able to be helped. Or you can download or build a new driver and try it out. On Linux, you can try to run your debug build with valgrind for some clues.
  • Possible marking-state.h Chromium bug when compiling QtWebEngine from source

    Unsolved
    2
    0 Votes
    2 Posts
    351 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
    1k Views
    F
    This command worked for me sudo pacman -S libxml2-legacy
  • QWebEngine getDisplayMedia AbortError on macOS 15.3.2 with Qt 6.9

    Unsolved
    1
    1 Votes
    1 Posts
    182 Views
    No one has replied
  • QWebEngineView with transparent bg always on top

    Unsolved
    1
    0 Votes
    1 Posts
    155 Views
    No one has replied
  • webenginecore added by VS build to qtvars.pro file

    Unsolved
    8
    0 Votes
    8 Posts
    963 Views
    L
    I found the issue. When I migrated to the new QT Visual Studio tools upon being prompted by VS (I'm upgrading from Qt 5.15.0), this section was added to a higher level .props file where it was not previously. <PropertyGroup Label="QtSettings"> <QtInstall>Qt_Qt-6.9.0</QtInstall> <QtModules>core;gui;network;widgets;webenginecore</QtModules> </PropertyGroup> Deleting the "network" and "webenginecore" items got the webenginecore error to disappear.
  • 0 Votes
    3 Posts
    999 Views
    I
    Looks like this is going to be fixed in Qt 6.9.1, related patch - https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/634034
  • 2 Votes
    9 Posts
    1k Views
    Esmaeil_SooanE
    I've reported this issue as a bug at: https://bugreports.qt.io/browse/QTBUG-136652
  • Show pdf in qtwebengineview

    Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    R
    Do we have a solution for this?
  • How to avoid qtwebengine to crash main program?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    JonBJ
    @DJBob-Gaming Is this spam? Does not sound like any answer to the question.
  • QtWebEngine on Windows on ARM

    Unsolved
    1
    0 Votes
    1 Posts
    213 Views
    No one has replied