Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • QtWebEngine Chromium not accepting even Valid CA certs

    Unsolved
    2
    0 Votes
    2 Posts
    69 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
    506 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
    201 Views
    No one has replied
  • Qt6WebEngine Installation problem

    Unsolved qtwebengine msvc2019 webengine qt6.7.2
    3
    0 Votes
    3 Posts
    1k 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
    738 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
    678 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
    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
    354 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
    406 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
    648 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
    509 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
    639 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
    791 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
    2k 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
    803 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
    204 Views
    No one has replied
  • WebEngine doing stuff I don't think it should be.

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